/* ============================================================
   DVMiQ Technologies — Shared Public Site Stylesheet
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand colors — Salesforce-aligned palette */
  --brand:  #0176D3;   /* Salesforce action blue */
  --accent: #22D4F7;   /* Salesforce teal */
  --text:   #032D60;   /* Salesforce deep navy */
  --muted:  #54698D;   /* slate blue-gray */
  --red:    #cc0000;
  --green:  #2E844A;

  /* Surface & background */
  --bg:       #ffffff;
  --bg-alt:   #F3F2F2;   /* Salesforce light gray */
  --bg-dark:  #032D60;   /* Salesforce deep navy */
  --surface:  #ffffff;

  /* Borders */
  --border:        #DDDBDA;
  --border-strong: #B0ADAB;

  /* Border-radius scale */
  --r-xs:   4px;
  --r-sm:   8px;
  --r:      12px;
  --r-lg:   16px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(3,45,96,.06);
  --shadow-sm: 0 2px 8px rgba(3,45,96,.08), 0 4px 16px rgba(3,45,96,.04);
  --shadow:    0 4px 20px rgba(3,45,96,.11), 0 12px 40px rgba(3,45,96,.06);

  /* Nav */
  --nav-h: 64px;

  /* Layout */
  --max-w:  1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ---------- BODY ---------- */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Apple Color Emoji", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

/* ---------- CONTAINER & LAYOUT ---------- */
.container {
  width: min(var(--max-w), 100% - var(--gutter) * 2);
  margin: 0 auto;
}

.section       { padding: clamp(64px, 8vw, 112px) 0; }
.section--sm   { padding: clamp(40px, 5vw, 72px) 0; }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--alt  { background: var(--bg-alt); }

.grid   { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- NAVIGATION ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-w), 100% - var(--gutter) * 2);
  margin: 0 auto;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 34px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-xs);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--text); background: var(--bg-alt); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn--primary:hover { background: #0265b8; border-color: #0265b8; }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--outline:hover { background: var(--bg-alt); }

.btn--ghost {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
.btn--ghost:hover { background: rgba(255,255,255,.18); }

.btn--dark { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.btn--dark:hover { background: #192f44; border-color: #192f44; }

.btn--red { background: transparent; color: var(--red); border-color: var(--red); }
.btn--red:hover { background: rgba(204,0,0,.05); }

.btn--green-outline {
  background: transparent;
  color: #0a7045;
  border-color: rgba(42,170,114,.45);
}
.btn--green-outline:hover { background: rgba(42,170,114,.06); }

.btn--green-fill {
  background: color-mix(in srgb, var(--green) 12%, #fff);
  color: #0a7045;
  border-color: rgba(42,170,114,.35);
}
.btn--green-fill:hover { background: color-mix(in srgb, var(--green) 20%, #fff); }

.btn--lg { padding: 12px 28px; font-size: 16px; }
.btn--sm { padding: 6px 14px; font-size: 13px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- EYEBROW / SECTION LABEL ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow--green { color: var(--green); }
.eyebrow--green::before { background: var(--green); }
.eyebrow--red { color: var(--red); }
.eyebrow--red::before { background: var(--red); }
.eyebrow--white { color: rgba(255,255,255,.7); }
.eyebrow--white::before { background: rgba(255,255,255,.5); }

/* ---------- TYPOGRAPHY SCALE ---------- */
.display-1 {
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.045em;
  margin: 0 0 24px;
}
.display-2 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin: 0 0 14px;
}
.lead {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 58ch;
  margin: 0;
}
.lead--white { color: rgba(255,255,255,.65); }

/* ---------- SECTION HEAD (centered) ---------- */
.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.card p  { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; }

/* Accent top borders */
.card--blue  { border-top: 3px solid var(--brand); }
.card--green { border-top: 3px solid var(--green); }
.card--red   { border-top: 3px solid var(--red);   }

/* Left stripe cards */
.card--stripe-blue  { border-left: 4px solid var(--brand); padding-left: 20px; }
.card--stripe-green { border-left: 4px solid var(--green); padding-left: 20px; }

/* Raised variant */
.card--raised { box-shadow: var(--shadow); }

/* Alt fill */
.card--alt { background: var(--bg-alt); }

/* ---------- TAGS ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
}
.tag--blue  { background: #E8F4FF; color: #0176D3; border: 1px solid #BFD9F2; }
.tag--green { background: #EFF7F0; color: #2E844A; border: 1px solid #B2D4BB; }
.tag--red   { background: #FEE9EA; color: #cc0000; border: 1px solid #F5B5BA; }
.tag--muted { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--border); }

/* ---------- PILL ROW ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--muted);
  border: 1px solid var(--border);
}
.pill--blue  { background: #E8F4FF; color: #0176D3; border-color: #BFD9F2; }
.pill--green { background: #EFF7F0; color: #2E844A; border-color: #B2D4BB; }
.pill--red   { background: #FEE9EA; color: #cc0000; border-color: #F5B5BA; }

/* ---------- FEATURE LIST ---------- */
.feat-list { display: grid; gap: 16px; }
.feat-item { display: flex; gap: 14px; align-items: flex-start; }
.feat-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--brand);
  margin-top: 8px;
  flex-shrink: 0;
}
.feat-dot--green { background: var(--green); }
.feat-dot--red   { background: var(--red);   }
.feat-item p { margin: 0; color: var(--muted); line-height: 1.6; }
.feat-item strong { color: var(--text); }

/* ---------- SPLIT LAYOUT ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split-visual { order: -1; }
}
.split h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.split p { color: var(--muted); margin: 0 0 20px; line-height: 1.65; }

/* ---------- DIVIDER ---------- */
.divider { height: 1px; background: var(--border); }

/* ---------- NOTICE BANNER ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r);
  border-left: 3px solid var(--brand);
  background: #e8f4fd;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.notice strong { font-weight: 800; }
.notice--green { border-left-color: var(--green); background: #eaf6f1; }

/* ---------- FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-weight: 700; font-size: 13px; color: var(--text); }
.form-field .hint { font-size: 12px; color: var(--muted); }

input[type=text], input[type=email], input[type=password],
input[type=number], input[type=tel], select, textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(100,191,247,.18);
}
textarea { min-height: 110px; resize: vertical; }

.status-msg { padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; display: none; }
.status-msg--ok  { background: #EFF7F0; border: 1px solid #B2D4BB; color: #2E844A; }
.status-msg--err { background: #FEE9EA; border: 1px solid #F5B5BA; color: #cc0000; }

/* ---------- TABS ---------- */
.tab-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.tab-btn {
  padding: 9px 16px;
  border-radius: var(--r-xs) var(--r-xs) 0 0;
  border: 1.5px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--text); background: var(--bg-alt); }
.tab-btn.active {
  color: var(--text);
  background: var(--bg);
  border-color: var(--border);
  border-bottom-color: var(--bg);
}

/* ---------- DEMO BOX ---------- */
.demo-wrap { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 8px; }
.demo-badge {
  font-size: 11px; font-weight: 700; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 4px 10px;
}
.demo-code {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px; font-size: 13px; line-height: 1.55; color: var(--text);
  white-space: pre-wrap; word-break: break-word; overflow: auto; max-height: 400px;
}
.demo-code .dr { display: block; font-weight: 800; color: var(--brand); margin: 0 0 8px; }
.demo-code .dq { display: block; font-weight: 800; color: var(--muted); margin: 0 0 8px; text-align: right; }
.demo-code .dm { display: block; font-weight: 800; color: var(--muted); margin: 0 0 8px; }
.demo-code::-webkit-scrollbar { width: 5px; height: 5px; }
.demo-code::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.demo-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 960px) { .demo-panel { grid-template-columns: 1fr; } }

/* ---------- APP MOCK (NextUp) ---------- */
.app-mock { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.app-mock-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.app-mock-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), #1ed47e);
  display: grid; place-items: center;
  font-weight: 900; font-size: 18px; color: #fff;
  flex-shrink: 0;
}
.app-mock-title { font-weight: 800; font-size: 15px; }
.app-mock-sub   { color: var(--muted); font-size: 12px; }

.app-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 12px 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.app-card-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; font-size: 15px;
  background: color-mix(in srgb, var(--green) 10%, #fff);
  border: 1px solid rgba(42,170,114,.2);
  flex-shrink: 0;
}
.app-card-icon--blue {
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  border-color: rgba(100,191,247,.3);
}
.app-card-label { font-weight: 700; font-size: 13px; color: var(--text); }
.app-card-hint  { font-size: 12px; color: var(--muted); }

/* ---------- VETMATCH MOCK ---------- */
.vm-mock { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; }
.vm-listing {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 12px 14px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}
.vm-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: color-mix(in srgb, var(--red) 8%, #fff);
  border: 1px solid rgba(204,0,0,.18);
  display: grid; place-items: center; font-size: 16px; flex-shrink: 0;
}
.vm-title { font-weight: 700; font-size: 13px; color: var(--text); }
.vm-meta  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.vm-status {
  margin-left: auto; flex-shrink: 0;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800;
}
.vm-status--open    { background: #EFF7F0; color: #2E844A; border: 1px solid #B2D4BB; }
.vm-status--applied { background: #E8F4FF; color: #0176D3; border: 1px solid #BFD9F2; }

/* ---------- PRODUCT CARDS ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.product-card--blue  { border-top: 3px solid var(--brand); }
.product-card--green { border-top: 3px solid var(--green); }
.product-card--red   { border-top: 3px solid var(--red);   }
.product-name { font-size: 20px; font-weight: 900; letter-spacing: -.015em; margin: 0; }
.product-card p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; line-height: 1.6; }
.card-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- HERO PRODUCT CHIPS ---------- */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 10px 16px;
  font-weight: 700; font-size: 14px; color: var(--text);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.hero-chip:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.chip-dot { width: 9px; height: 9px; border-radius: 2px; }
.chip-dot--blue  { background: var(--brand); }
.chip-dot--green { background: var(--green); }
.chip-dot--red   { background: var(--red);   }

/* ---------- HERO OVERVIEW CARDS ---------- */
.overview-row { display: grid; gap: 10px; }
.overview-item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
  transition: box-shadow .15s, border-color .15s, transform .15s;
}
.overview-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.overview-item--blue  { border-color: rgba(100,191,247,.35); }
.overview-item--blue:hover  { border-color: rgba(100,191,247,.6); }
.overview-item--green { border-color: rgba(42,170,114,.3); }
.overview-item--green:hover { border-color: rgba(42,170,114,.55); }
.overview-item--red   { border-color: rgba(204,0,0,.22);   }
.overview-item--red:hover   { border-color: rgba(204,0,0,.45); }

.ov-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 900; font-size: 15px;
  flex-shrink: 0;
}
.ov-icon--blue  { background: linear-gradient(135deg, var(--brand), var(--accent)); color: var(--bg-dark); }
.ov-icon--green { background: linear-gradient(135deg, var(--green), #1ed47e); color: #fff; }
.ov-icon--red   { background: linear-gradient(135deg, var(--red), #e04444); color: #fff; }

.ov-name { font-weight: 800; font-size: 14px; }
.ov-desc { font-size: 12px; color: var(--muted); }

/* ---------- ABOUT SECTION BOX ---------- */
.about-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 52px);
}
.about-box h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.about-box p { color: var(--muted); margin: 0 0 10px; max-width: 66ch; line-height: 1.7; }

.stat-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.stat-item { flex: 1; min-width: 160px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; }
.stat-num  { font-weight: 900; font-size: 28px; letter-spacing: -.03em; }
.stat-num--blue  { color: var(--brand); }
.stat-num--green { color: var(--green); }
.stat-num--red   { color: var(--red); }
.stat-label { font-weight: 700; font-size: 14px; color: var(--text); margin-top: 2px; }
.stat-sub   { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
/* .faq-item base defined in v2 section below */
.faq-q { font-weight: 800; font-size: 15px; margin: 0 0 8px; }
.faq-a { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.65; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-alt);
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 500px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 30px; margin-bottom: 12px; }
.footer-col h4 {
  font-weight: 800; font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px;
}
.footer-col a, .footer-col span {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 7px;
  font-size: 14px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--brand); }
.footer-tagline { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-bottom a:hover { color: var(--text); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- MOBILE NAV (bottom bar) ---------- */
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .hide-mobile { display: none; }
  body { padding-bottom: 72px; }

  .mobile-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-nav-bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }
  .mobile-nav-bar a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .03em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: var(--r-sm);
    transition: background .15s, color .15s;
  }
  .mobile-nav-bar a .ico {
    width: 32px; height: 28px;
    border-radius: var(--r-sm);
    display: grid; place-items: center;
    background: var(--bg-alt);
    font-size: 13px;
    color: var(--muted);
    transition: all .15s;
  }
  .mobile-nav-bar a.active, .mobile-nav-bar a:hover { color: var(--text); }
  .mobile-nav-bar a.active .ico {
    background: var(--brand);
    color: var(--bg-dark);
  }
}

/* ---------- LOGIN / CENTERED CARD ---------- */
.centered-wrap { display: flex; align-items: center; justify-content: center; padding: 72px 16px; min-height: calc(100vh - var(--nav-h)); }
.centered-card {
  width: 100%; max-width: 500px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
@media (max-width: 560px) { .centered-card { padding: 24px 18px; } }
.centered-card h1 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin: 0 0 4px; letter-spacing: -.02em; }
.centered-card p  { color: var(--muted); margin: 0 0 20px; }

/* ---------- LEGAL PAGE ---------- */
.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 16px;
}
.legal-wrap h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 6px; }
.legal-wrap h4 { font-size: 16px; font-weight: 700; margin: 28px 0 8px; }
.legal-wrap p, .legal-wrap li { font-size: 15px; color: var(--muted); line-height: 1.75; }
.legal-wrap a { color: var(--brand); text-decoration: underline; }
.legal-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.legal-wrap td, .legal-wrap th { border: 1px solid var(--border); padding: 8px 12px; text-align: left; vertical-align: top; }

/* ---------- UTILITIES ---------- */
sup { vertical-align: super; font-size: smaller; }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.flex-wrap   { display: flex; flex-wrap: wrap; gap: 10px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   MODERN DESIGN — v2 Components
   ============================================================ */

/* --- Backdrop blur on nav --- */
.site-nav {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* --- Nav open state (mobile) --- */
@media (max-width: 860px) {
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gutter);
    z-index: 99;
    gap: 2px;
  }
  .nav-menu.open a {
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 15px;
  }
}

/* --- Gradient text --- */
.gradient-text {
  background: linear-gradient(120deg, var(--text) 0%, var(--brand) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Hero — Salesforce-style light section --- */
.hero-light {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 92% 45%, rgba(1,118,211,.10), transparent 58%),
    radial-gradient(ellipse 50% 60% at 4%  90%, rgba(34,212,247,.07), transparent 55%),
    radial-gradient(ellipse 40% 40% at 55% 10%, rgba(1,118,211,.05), transparent 50%);
  pointer-events: none;
}

/* --- Section alt — SF flat light gray (overrides base) --- */
.section--alt { background: #F3F2F2; }

/* ---- Product Cards v2 ---- */
.product-card-v2 {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.product-card-v2:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.product-card-v2__head {
  padding: 26px 28px 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.product-card-v2__head--blue {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand) 14%, #fff) 0%,
    color-mix(in srgb, var(--brand)  5%, #fff) 100%);
  border-bottom-color: color-mix(in srgb, var(--brand) 20%, var(--border));
}
.product-card-v2__head--green {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--green) 12%, #fff) 0%,
    color-mix(in srgb, var(--green)  4%, #fff) 100%);
  border-bottom-color: color-mix(in srgb, var(--green) 18%, var(--border));
}
.product-card-v2__head--red {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--red) 10%, #fff) 0%,
    color-mix(in srgb, var(--red)  3%, #fff) 100%);
  border-bottom-color: color-mix(in srgb, var(--red) 14%, var(--border));
}
.product-card-v2__letter {
  position: absolute;
  right: 10px; top: -8px;
  font-size: 96px;
  font-weight: 900;
  opacity: .07;
  line-height: 1;
  letter-spacing: -.04em;
  user-select: none;
  color: var(--text);
  pointer-events: none;
}
.product-card-v2__name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 10px 0 0;
}

.product-card-v2__body {
  padding: 22px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-card-v2__body > p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; line-height: 1.6; }

/* ---- Feature Cards (icon-first, 3-col) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.feature-card:hover {
  box-shadow: 0 4px 20px rgba(100,191,247,.12), var(--shadow-sm);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
}
.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border));
  flex-shrink: 0;
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 7px; color: var(--text); }
.feature-card p  { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.feature-card sup { font-size: 9px; color: var(--muted); }

/* ---- Pill Tabs ---- */
.pill-tab-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 28px;
}
.pill-tab-btn {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.pill-tab-btn:hover { color: var(--text); }
.pill-tab-btn.active {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}

/* ---- Dark Demo Frame ---- */
.demo-dark-wrap {
  background: #111e2d;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow);
}
.demo-dark-chrome {
  background: #0c1624;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.browser-dots { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.d-r { background: #ff5f56; }
.d-y { background: #ffbd2e; }
.d-g { background: #27c93f; }
.demo-badge-dark {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}
.demo-dark-code {
  padding: 18px 20px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  max-height: 380px;
}
.demo-dark-code .dr { display: block; font-weight: 800; color: var(--brand); margin: 0 0 6px; }
.demo-dark-code .dq { display: block; font-weight: 800; color: var(--accent); margin: 0 0 6px; text-align: right; }
.demo-dark-code .dm { display: block; font-weight: 800; color: rgba(255,255,255,.38); margin: 4px 0 6px; }
.demo-dark-code::-webkit-scrollbar { width: 4px; height: 4px; }
.demo-dark-code::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 4px; }

/* ---- Hero overview items on dark bg ---- */
.overview-item-dark {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: background .15s, border-color .15s;
}
.overview-item-dark:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
}
.overview-item-dark .ov-name { color: rgba(255,255,255,.88); font-weight: 800; font-size: 14px; }
.overview-item-dark .ov-desc { color: rgba(255,255,255,.42); font-size: 12px; margin-top: 2px; }

/* ---- Hero chips on dark bg ---- */
.hero-chip-dark {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
}
.hero-chip-dark:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  box-shadow: none;
}

/* ---- App mock + vm mock shadow --- */
.app-mock {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.vm-mock {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

/* ---- Bento Grid (About) ---- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-cell--main { grid-column: 1 / 3; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-cell--main { grid-column: 1; }
}

.bento-cell {
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento-cell--main {
  grid-column: 1 / 3;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand) 10%, #fff) 0%,
    color-mix(in srgb, var(--brand)  4%, #fff) 100%);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border));
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.bento-cell--main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 100% 100%, rgba(100,191,247,.12), transparent 60%);
  pointer-events: none;
}
.bento-cell--main h2 {
  color: var(--text);
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 8px 0 0;
}
.bento-cell--main p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.65; }

.bento-cell--stat {
  background: var(--bg);
  border: 1px solid var(--border);
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 160px;
  transition: box-shadow .18s, transform .18s;
}
.bento-cell--stat:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.bento-stat-num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}
.bento-stat-num--blue  { color: var(--brand); }
.bento-stat-num--green { color: var(--green); }
.bento-stat-num--red   { color: var(--red);   }
.bento-stat-label { font-weight: 700; font-size: 13px; color: var(--text); margin-top: 4px; }
.bento-stat-sub   { font-size: 12px; color: var(--muted); margin-top: 2px; }

.bento-cell--cta {
  background: var(--brand);
  color: var(--bg-dark);
  justify-content: space-between;
}
.bento-cell--cta h3 { color: var(--bg-dark); font-weight: 900; font-size: 17px; margin: 0; line-height: 1.2; }
.bento-cell--cta p  { color: rgba(3,45,96,.65); font-size: 13px; margin: 0; flex: 1; }

/* ---- FAQ hover lift ---- */
.faq-item {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.faq-item:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* ---- Split visual glow ---- */
.split-visual--green {
  position: relative;
}
.split-visual--green::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(42,170,114,.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.split-visual--green > * { position: relative; z-index: 1; }

.split-visual--red {
  position: relative;
}
.split-visual--red::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(204,0,0,.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.split-visual--red > * { position: relative; z-index: 1; }

/* ============================================================
   SALESFORCE-STYLE COMPONENTS
   ============================================================ */

/* ---- Trust / Stats Bar ---- */
.trust-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
}
.trust-stat { text-align: center; }
.trust-stat-num {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--brand);
  line-height: 1;
}
.trust-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 5px;
}
.trust-divider {
  width: 1px;
  height: 44px;
  background: var(--border-strong);
  opacity: .45;
  flex-shrink: 0;
}
@media (max-width: 560px) { .trust-divider { display: none; } }

/* ---- Pre-footer CTA Band ---- */
.cta-band {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 80% at 80% 50%, rgba(1,118,211,.45), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(34,212,247,.12), transparent 55%);
  pointer-events: none;
}
.cta-band-inner { position: relative; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.04;
  margin: 0 0 16px;
}
.cta-band p {
  color: rgba(255,255,255,.68);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 52ch;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.cta-band-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--band-primary {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
  font-weight: 800;
}
.btn--band-primary:hover { background: #EAF4FF; border-color: #EAF4FF; color: #0265b8; }
.btn--band-ghost {
  background: transparent;
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.38);
}
.btn--band-ghost:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.65); }

/* ---- Nav active-page indicator ---- */
.nav-menu a.active {
  color: var(--text);
  background: var(--bg-alt);
}

/* ---- Section alt — SF flat light gray ---- */
.section--alt { background: #F3F2F2; }

/* ---- Stronger split headings ---- */
.split h2 {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 14px;
}

/* ---- Feature-card: deeper shadow on hover ---- */
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(1,118,211,.15), var(--shadow-sm);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
}

/* ---- Product card v2 stronger hover ---- */
.product-card-v2:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

/* ---- Green / red outline buttons updated for new palette ---- */
.btn--green-outline { color: #2E844A; border-color: rgba(46,132,74,.4); }
.btn--green-fill { background: color-mix(in srgb, #2E844A 10%, #fff); color: #2E844A; border-color: rgba(46,132,74,.3); }
.btn--green-fill:hover { background: color-mix(in srgb, #2E844A 18%, #fff); }
.btn--red { color: #cc0000; border-color: #cc0000; }
.btn--red:hover { background: rgba(204,0,0,.05); }
.btn--red-fill {
  background: rgba(204,0,0,.10);
  color: #cc0000;
  border-color: rgba(204,0,0,.28);
}
.btn--red-fill:hover { background: rgba(204,0,0,.18); }
