/*
 * WE.ARE.PRATIK — Design System v1.0 | CSS v124
 * Enterprise-level insurance platform UI
 * Loads after style.css — overrides all conflicting rules
 */

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
  --ds-bg:           #ffffff;
  --ds-bg-secondary: #F8FAFC;
  --ds-card-bg:      #ffffff;
  --ds-text:         #0F172A;
  --ds-text-secondary: #475569;
  --ds-text-muted:   #64748B;
  --ds-border:       #E2E8F0;
  --ds-brand:        #0000cc;
  --ds-brand-hover:  #0000aa;
  --ds-brand-light:  #EEF2FF;
  --ds-success:      #16A34A;
  --ds-warning:      #F59E0B;
  --ds-danger:       #DC2626;
  --ds-font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ds-radius-sm:    8px;
  --ds-radius-md:    12px;
  --ds-radius-lg:    16px;
  --ds-radius-xl:    20px;
  --ds-shadow-card:  0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --ds-shadow-nav:   0 1px 0 #E2E8F0;
  --ds-container:    1280px;
}

/* ═══════════════════════════════════════════════════════════
   BASE
   ═══════════════════════════════════════════════════════════ */
html, body {
  font-family: var(--ds-font) !important;
  background: var(--ds-bg) !important;
  color: var(--ds-text) !important;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY SCALE
   ═══════════════════════════════════════════════════════════ */
h1, .ds-h1 {
  font-family: var(--ds-font) !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.5px !important;
  color: var(--ds-text) !important;
}
h2, .ds-h2 {
  font-family: var(--ds-font) !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: var(--ds-text) !important;
}
h3, .ds-h3 {
  font-family: var(--ds-font) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--ds-text) !important;
}
h4, .ds-h4 {
  font-family: var(--ds-font) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--ds-text) !important;
}
p, .ds-body {
  font-family: var(--ds-font) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: var(--ds-text-secondary) !important;
}

@media (max-width: 900px) {
  h1, .ds-h1 { font-size: 44px !important; }
  h2, .ds-h2 { font-size: 34px !important; }
  h3, .ds-h3 { font-size: 24px !important; }
  h4, .ds-h4 { font-size: 18px !important; }
}
@media (max-width: 600px) {
  h1, .ds-h1 { font-size: 34px !important; }
  h2, .ds-h2 { font-size: 28px !important; }
  h3, .ds-h3 { font-size: 20px !important; }
  h4, .ds-h4 { font-size: 17px !important; }
  p, .ds-body { font-size: 15px !important; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADINGS (shared across public pages)
   ═══════════════════════════════════════════════════════════ */
.section-heading {
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.3px !important;
  color: var(--ds-text) !important;
  margin-bottom: 12px !important;
}
.section-subheading {
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: var(--ds-text-secondary) !important;
  margin-bottom: 0 !important;
}
@media (max-width: 900px) {
  .section-heading { font-size: 30px !important; }
  .section-subheading { font-size: 16px !important; }
}
@media (max-width: 600px) {
  .section-heading { font-size: 24px !important; }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION / HEADER
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   NAV — Full rebuild (v20)
   ═══════════════════════════════════════════════════════════ */
nav, #navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
}

.nav-inner {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 24px 0 0 !important;
  height: 72px !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  box-sizing: border-box !important;
}

/* Logo / brand */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}
.nav-brand-name,
#navbar .nav-brand .nav-brand-name,
#navbar .nav-brand-name {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: unset !important;
  font-weight: 700 !important;
  color: #0000cc !important;
  letter-spacing: 0.05em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  font-style: normal !important;
  text-shadow: none !important;
  background: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Centre links */
.nav-center {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  flex: 1 !important;
  justify-content: center !important;
}
.nav-center a {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0F172A !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.18s !important;
}
.nav-center a:hover { color: #0000cc !important; }

/* Hide language selector on desktop to keep nav clean */
.nav-lang-selector { display: none !important; }

/* Right actions area */
.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  flex-shrink: 0 !important;
  margin-left: 48px !important;
}

/* Brand sits hard left; center area gets remaining space and self-centres */
#guestLinks { margin-left: 0 !important; }
#navbar .nav-center { padding-left: 0 !important; }

/* Auth links group — flex row with precise spacing */
#authLinks {
  display: inline-flex;
  align-items: center !important;
  gap: 0 !important;
}
/* Hide auth links when user is logged in */
body.logged-in #authLinks {
  display: none !important;
}

/* Sign In — plain text link, 16px gap before Get Started */
.nav-auth-link {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #0F172A !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.18s !important;
  margin-right: 0 !important;
}
.nav-auth-link:hover { color: #0000cc !important; }

/* First child of authLinks = Sign In → 28px gap to Get Started */
#authLinks > a:first-child { margin-right: 28px !important; }

/* Get Started — primary filled, 12px gap to Request Demo */
.nav-get-started {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #0000cc !important;
  color: #ffffff !important;
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background 0.18s ease !important;
  border: none !important;
  margin-right: 12px !important;
}
.nav-get-started:hover {
  background: #0000aa !important;
  color: #ffffff !important;
}

/* Request Demo — secondary outline */
.nav-request-demo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  color: #0000cc !important;
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  border: 1px solid #0000cc !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background 0.18s ease !important;
}
.nav-request-demo:hover {
  background: #f0f0ff !important;
}

/* Mobile nav drawer */
.nav-mobile-drawer {
  background: #ffffff !important;
  border-top: 1px solid #E2E8F0 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10) !important;
}
.nav-mobile-drawer a {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #0F172A !important;
  padding: 14px 24px !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO — WRAPPER: full-viewport height, centred content
   ═══════════════════════════════════════════════════════════ */
.hero.hero-cinematic,
.hero,
.hero-section,
#page-home .hero.hero-cinematic {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: calc(100vh - 76px) !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}
.hero-content,
.hero-centered-layout {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO — LAYOUT (definitive, highest priority)
   ═══════════════════════════════════════════════════════════ */
.hero-bottom-split {
  display: flex !important;
  gap: clamp(32px, 5vw, 80px) !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 clamp(24px, 6vw, 80px) !important;
  box-sizing: border-box !important;
}

/* Desktop / Tablet: side by side — proportional 58/42 split */
@media (min-width: 601px) {
  div.hero-bottom-split {
    flex-direction: row !important;
    text-align: left !important;
    align-items: stretch !important;
  }
  div.hero-left {
    flex: 0 0 58% !important;
    width: 58% !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  div.hero-right {
    flex: 0 0 42% !important;
    width: 42% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
  }
  div.hero-left .hero-value-prop,
  div.hero-left .hero-desc-main { text-align: left !important; }
  div.hero-left .ds-hero-buttons {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
}

/* Phone: stacked, left-aligned */
@media (max-width: 600px) {
  div.hero-bottom-split {
    flex-direction: column !important;
    text-align: left !important;
    align-items: flex-start !important;
    gap: 40px !important;
    padding: 48px 20px !important;
  }
  div.hero-left {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }
  div.hero-left .hero-value-prop,
  div.hero-left .hero-desc-main {
    text-align: left !important;
  }
  div.hero-left .ds-hero-buttons {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 12px !important;
  }
  div.hero-right {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }
}

/* Hero text */
.hero-value-prop {
  font-family: var(--ds-font) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.5px !important;
  color: var(--ds-text) !important;
  margin-bottom: 24px !important;
}
.hero-desc-main {
  font-family: var(--ds-font) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: var(--ds-text-secondary) !important;
  margin-bottom: 8px !important;
}
.hero-left {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  max-width: none !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO BUTTONS (ds-hero-btn — clean class, no inline fights)
   ═══════════════════════════════════════════════════════════ */
.ds-hero-buttons {
  display: flex !important;
  gap: 16px !important;
  margin-top: 32px !important;
}
.ds-hero-btn {
  display: inline-flex;
  align-items: center !important;
  justify-content: center !important;
  background: var(--ds-brand) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--ds-radius-md) !important;
  padding: 14px 28px !important;
  font-family: var(--ds-font) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.15s !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.ds-hero-btn:hover {
  background: var(--ds-brand-hover) !important;
  transform: translateY(-1px) !important;
}
.ds-hero-btn-secondary {
  background: transparent !important;
  color: var(--ds-brand) !important;
  border: 2px solid var(--ds-brand) !important;
}
.ds-hero-btn-secondary:hover {
  background: var(--ds-brand-light) !important;
}

/* Mobile buttons: left-aligned natural width */
@media (max-width: 600px) {
  .ds-hero-btn {
    width: auto !important;
    min-width: 0 !important;
    padding: 13px 24px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════ */
.feature-card,
.feature-card-highlight,
.feature-card-premium {
  background: var(--ds-card-bg) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  box-shadow: var(--ds-shadow-card) !important;
  padding: 32px !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}
.feature-card:hover,
.feature-card-premium:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10) !important;
  transform: translateY(-2px) !important;
}
.feature-card h3, .feature-card-premium h3 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--ds-text) !important;
  margin-bottom: 12px !important;
}
.fcp-desc {
  font-size: 15px !important;
  color: var(--ds-text-secondary) !important;
  line-height: 1.6 !important;
}
.fcp-cta {
  display: inline-block !important;
  margin-top: 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ds-brand) !important;
}

/* ═══════════════════════════════════════════════════════════
   FOUNDING MEMBER / PILOT BANNERS
   ═══════════════════════════════════════════════════════════ */
.pricing-launch-banner {
  background: var(--ds-brand) !important;
  border-radius: var(--ds-radius-xl) !important;
  padding: 48px 48px !important;
  margin: 64px 0 !important;
}
.pricing-launch-inner {
  display: flex !important;
  align-items: center !important;
  gap: 40px !important;
  max-width: var(--ds-container) !important;
  margin: 0 auto !important;
  flex-wrap: wrap !important;
}
.pricing-free-pill {
  background: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  align-self: flex-start !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
}
.pricing-launch-text { flex: 1 !important; }
.pricing-launch-heading {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
  margin-bottom: 10px !important;
}
.pricing-launch-sub {
  font-size: 15px !important;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.6 !important;
}
.pricing-launch-cta {
  background: #ffffff !important;
  color: var(--ds-brand) !important;
  border: none !important;
  border-radius: var(--ds-radius-md) !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: opacity 0.2s !important;
}
.pricing-launch-cta:hover { opacity: 0.9 !important; }

@media (max-width: 768px) {
  .pricing-launch-banner { padding: 36px 24px !important; }
  .pricing-launch-inner { flex-direction: column !important; gap: 24px !important; align-items: flex-start !important; }
  .pricing-launch-heading { font-size: 20px !important; }
  .pricing-launch-cta { width: 100% !important; }
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════ */
.hiw-section {
  padding: 80px 40px !important;
  max-width: var(--ds-container) !important;
  margin: 0 auto !important;
}
.hiw-header {
  text-align: center !important;
  margin-bottom: 56px !important;
}
.hiw-cards {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0 !important;
}
.hiw-card {
  flex: 1 !important;
  background: var(--ds-card-bg) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  padding: 32px !important;
  box-shadow: var(--ds-shadow-card) !important;
}
.hiw-card-step {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  color: var(--ds-brand) !important;
  margin-bottom: 16px !important;
}
.hiw-card h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--ds-text) !important;
  margin-bottom: 12px !important;
}
.hiw-card-connector {
  display: flex !important;
  align-items: center !important;
  padding: 0 8px !important;
  flex-shrink: 0 !important;
}
.hiw-points {
  padding-left: 18px !important;
  margin: 0 !important;
}
.hiw-points li {
  font-size: 14px !important;
  color: var(--ds-text-secondary) !important;
  line-height: 1.7 !important;
  margin-bottom: 4px !important;
}
.hiw-card-desc {
  font-size: 14px !important;
  color: var(--ds-text-secondary) !important;
  line-height: 1.6 !important;
}
@media (max-width: 768px) {
  .hiw-section { padding: 56px 20px !important; }
  .hiw-cards {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .hiw-card-connector { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   ECOSYSTEM SECTION
   ═══════════════════════════════════════════════════════════ */
.ecosystem-section {
  padding: 80px 40px !important;
  max-width: var(--ds-container) !important;
  margin: 0 auto !important;
}
.ecosystem-section > .section-heading,
.ecosystem-section > .section-subheading {
  text-align: center !important;
}
.ecosystem-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 24px !important;
  margin-top: 48px !important;
}
.eco-content-card {
  background: var(--ds-card-bg) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--ds-shadow-card) !important;
}
@media (max-width: 600px) {
  .ecosystem-section { padding: 56px 20px !important; }
  .ecosystem-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn-primary, button.btn-primary {
  background: var(--ds-brand) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--ds-radius-md) !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  font-family: var(--ds-font) !important;
}
.btn-primary:hover { background: var(--ds-brand-hover) !important; }

.btn-secondary, button.btn-secondary {
  background: #ffffff !important;
  color: var(--ds-brand) !important;
  border: 1px solid var(--ds-brand) !important;
  border-radius: var(--ds-radius-md) !important;
  padding: 13px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  font-family: var(--ds-font) !important;
}
.btn-secondary:hover { background: var(--ds-brand-light) !important; }

/* ═══════════════════════════════════════════════════════════
   GLOBAL FORM FIELDS
   ═══════════════════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
select,
textarea {
  font-family: var(--ds-font) !important;
  font-size: 15px !important;
  color: var(--ds-text) !important;
  background: #ffffff !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: var(--ds-radius-md) !important;
  padding: 12px 16px !important;
  min-height: 48px !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  outline: none !important;
}
input::placeholder, textarea::placeholder {
  color: #94A3B8 !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--ds-brand) !important;
  box-shadow: 0 0 0 3px rgba(0,0,204,0.08) !important;
}

/* ═══════════════════════════════════════════════════════════
   CARDS (global)
   ═══════════════════════════════════════════════════════════ */
.card, .ds-card {
  background: var(--ds-card-bg) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  box-shadow: var(--ds-shadow-card) !important;
  padding: 28px !important;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer.site-footer,
.site-footer {
  background: var(--ds-brand) !important;
  padding: 64px 40px 32px !important;
}
.footer-columns {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 48px !important;
  max-width: var(--ds-container) !important;
  margin: 0 auto 48px !important;
}
.footer-col h4 {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.6) !important;
  margin-bottom: 16px !important;
}
.footer-col a {
  display: block !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
  transition: color 0.2s !important;
}
.footer-col a:hover { color: #ffffff !important; }
.footer-col-brand .footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}
.footer-col-brand .footer-logo span {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.02em !important;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15) !important;
  padding-top: 24px !important;
  max-width: var(--ds-container) !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.footer-bottom p {
  font-size: 13px !important;
  color: rgba(255,255,255,0.6) !important;
}

@media (max-width: 900px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}
@media (max-width: 600px) {
  footer.site-footer { padding: 48px 20px 28px !important; }
  .footer-columns {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO — SUPPORTING TEXT
   ═══════════════════════════════════════════════════════════ */
.hero-supporting-text {
  margin-top: 20px !important;
  font-size: 0.875rem !important;
  color: var(--ds-text-muted) !important;
  letter-spacing: 0.01em !important;
  font-weight: 400 !important;
}

/* ═══════════════════════════════════════════════════════════
   SCANNER CARD (hero right) — full-height interactive
   ═══════════════════════════════════════════════════════════ */
.hero-right {
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
}
.hero-scanner-card {
  background: #ffffff !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 48px rgba(0,0,204,0.10), 0 2px 8px rgba(0,0,0,0.06) !important;
  padding: 28px 24px !important;
  width: 100% !important;
  max-width: 380px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  height: 100% !important;
  box-sizing: border-box !important;
  justify-content: space-between !important;
}
.hero-scan-label {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #0000cc !important;
  text-align: center !important;
  text-transform: uppercase !important;
}
.hero-scanner-frame {
  position: relative !important;
  width: 100% !important;
  flex: 1 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
}
.hero-qr-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* Corner brackets */
.hero-scanner-corner {
  position: absolute !important;
  width: 28px !important;
  height: 28px !important;
  border-color: #0000cc !important;
  border-style: solid !important;
  z-index: 2 !important;
}
.hero-corner-tl { top: 8px !important; left: 8px !important; border-width: 3px 0 0 3px !important; border-radius: 4px 0 0 0 !important; }
.hero-corner-tr { top: 8px !important; right: 8px !important; border-width: 3px 3px 0 0 !important; border-radius: 0 4px 0 0 !important; }
.hero-corner-bl { bottom: 8px !important; left: 8px !important; border-width: 0 0 3px 3px !important; border-radius: 0 0 0 4px !important; }
.hero-corner-br { bottom: 8px !important; right: 8px !important; border-width: 0 3px 3px 0 !important; border-radius: 0 0 4px 0 !important; }

/* Animated scan beam */
.hero-scan-beam {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, transparent, #0000cc, transparent) !important;
  box-shadow: 0 0 12px 3px rgba(0,0,204,0.35) !important;
  z-index: 3 !important;
  animation: heroScanBeam 2s ease-in-out infinite !important;
}
@keyframes heroScanBeam {
  0%   { top: 8%; opacity: 0.6; }
  50%  { top: 90%; opacity: 1; }
  100% { top: 8%; opacity: 0.6; }
}

/* Result state */
.hero-scan-result {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
}
.hero-scan-result-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #16a34a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.hero-scan-result-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex: 1 !important;
}
.hero-scan-result-text strong {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  display: block !important;
}
.hero-scan-result-text span {
  font-size: 0.75rem !important;
  color: #475569 !important;
}
.hero-scan-result-badge {
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  color: #ffffff !important;
  background: #16a34a !important;
  padding: 3px 8px !important;
  border-radius: 20px !important;
  flex-shrink: 0 !important;
}

/* Brand row */
.hero-scan-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding-top: 4px !important;
}
.hero-scan-brand-logo {
  height: 20px !important;
  width: auto !important;
  opacity: 0.7 !important;
}
.hero-scan-brand-name {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #0000cc !important;
  opacity: 0.7 !important;
}

/* ═══════════════════════════════════════════════════════════
   INSIGHTS NEWSLETTER STRIP
   ═══════════════════════════════════════════════════════════ */
.insights-newsletter-strip {
  background: var(--ds-brand) !important;
  padding: 48px 40px !important;
  border-radius: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   PAGE SECTIONS — SPACING
   ═══════════════════════════════════════════════════════════ */
.features.features-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  max-width: var(--ds-container) !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}
@media (max-width: 768px) {
  .features.features-2 {
    grid-template-columns: 1fr !important;
    padding: 0 20px !important;
  }
}

/* Container wrapper */
.container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO — MOBILE OVERRIDES
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero-scanner-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-right {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  div.hero-left .ds-hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .ds-hero-btn,
  .ds-hero-btn-secondary {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .hero-supporting-text {
    text-align: left !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   REMOVE DEPRECATED DECORATIVE ELEMENTS
   ═══════════════════════════════════════════════════════════ */
.hero-blob, .hero-blob-1, .hero-blob-2, .hero-blob-3 {
  display: none !important;
}
#heroParticles {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   WHERE WE.ARE.PRATIK WORKS — section
   ═══════════════════════════════════════════════════════════ */
.ds-where-section {
  background: #ffffff;
  padding: 80px 0;
}
.ds-where-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.ds-where-header {
  text-align: center;
  margin-bottom: 56px;
}
.ds-where-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ds-where-subtitle {
  font-size: 1rem;
  color: #475569;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.ds-where-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ds-where-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ds-where-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}
.ds-where-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px;
  line-height: 1.35;
}
.ds-where-card-desc {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .ds-where-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ds-where-section {
    padding: 60px 0;
  }
  .ds-where-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ds-where-card {
    padding: 24px 20px;
  }
  .ds-where-header {
    margin-bottom: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS — section
   ═══════════════════════════════════════════════════════════ */
.ds-how-section {
  background: #ffffff;
  padding: 96px 0;
}
.ds-how-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.ds-how-header {
  text-align: center;
  margin-bottom: 64px;
}
.ds-how-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.ds-how-subtitle {
  font-size: 1rem;
  color: #475569;
  margin: 0 auto;
  max-width: 580px;
  line-height: 1.65;
}
.ds-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.ds-how-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .ds-how-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.09);
    transform: translateY(-2px);
  }
}
.ds-how-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0000cc;
  display: block;
}
.ds-how-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.35;
}
.ds-how-card-desc {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .ds-how-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ds-how-section {
    padding: 60px 0;
  }
  .ds-how-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ds-how-card {
    padding: 24px 20px;
  }
  .ds-how-header {
    margin-bottom: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════
   BUILT FOR CONTROL & INSTANT VERIFICATION — pillars section
   ═══════════════════════════════════════════════════════════ */
.ds-pillars-section {
  background: #ffffff;
  padding: 96px 0;
}
.ds-pillars-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.ds-pillars-header {
  text-align: center;
  margin-bottom: 64px;
}
.ds-pillars-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ds-pillars-subtitle {
  font-size: 1rem;
  color: #475569;
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.65;
}
.ds-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.ds-pillar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ds-pillar-col-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.ds-pillar-col-desc {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}
.ds-pillar-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ds-pillar-list li {
  font-size: 0.9rem;
  color: #334155;
  padding-left: 0;
  position: relative;
  line-height: 1.5;
}
.ds-pillar-list li::before {
  content: none;
}

/* Visual mock container */
.ds-pillar-visual {
  margin-top: 8px;
}
.ds-pillar-mock-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ds-pillar-mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}
.ds-pillar-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.ds-dot-blue { background: #0000cc; }
.ds-pillar-mock-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
}

/* Policy rows */
.ds-pillar-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ds-pillar-mock-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0000cc;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  padding: 3px 9px;
  flex-shrink: 0;
  min-width: 48px;
  text-align: center;
}
.ds-pillar-mock-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ds-mock-line {
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
}
.ds-mock-line-lg { width: 80%; }
.ds-mock-line-sm { width: 50%; }
.ds-pillar-mock-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 20px;
  flex-shrink: 0;
}
.ds-badge-active {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.ds-badge-renew {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* QR verification mock */
.ds-pillar-qr-area {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.ds-pillar-qr-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 8px;
}
.ds-pillar-ver-result {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 14px;
}
.ds-pillar-ver-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-pillar-ver-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ds-pillar-ver-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F172A;
  display: block;
}
.ds-pillar-ver-text span {
  font-size: 0.72rem;
  color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
  .ds-pillars-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media (max-width: 600px) {
  .ds-pillars-section {
    padding: 64px 0;
  }
  .ds-pillars-header {
    margin-bottom: 40px;
  }
}

/* Policy code text inside mock rows */
.ds-mock-pol-code {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.04em;
  font-family: 'SF Mono', 'Fira Mono', monospace;
  white-space: nowrap;
}

/* Smaller tag variant for longer labels (Comm. Auto) */
.ds-pillar-mock-tag.ds-tag-sm {
  font-size: 0.6rem !important;
  min-width: 48px !important;
  padding: 3px 6px !important;
}

/* Uniform height for both pillar columns — cards stretch to same height */
.ds-pillars-grid {
  align-items: stretch !important;
}
.ds-pillar-col {
  height: 100% !important;
}
.ds-pillar-visual {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.ds-pillar-mock-card {
  flex: 1 !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* Constrain QR so verification card matches policy card height */
.ds-pillar-qr-area {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 0 !important;
}
.ds-pillar-qr-img {
  width: 110px !important;
  height: 110px !important;
}

/* ═══════════════════════════════════════════════════════════
   BUILT FOR REAL-WORLD USE — 2x2 scenario grid
   ═══════════════════════════════════════════════════════════ */
.ds-realworld-section {
  background: #F8FAFC;
  padding: 96px 0;
}
.ds-realworld-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.ds-realworld-header {
  text-align: center;
  margin-bottom: 64px;
}
.ds-realworld-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ds-realworld-subtitle {
  font-size: 1rem;
  color: #475569;
  margin: 0 auto;
  max-width: 520px;
  line-height: 1.65;
}
.ds-realworld-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ds-realworld-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .ds-realworld-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
    transform: translateY(-2px);
  }
}
.ds-realworld-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-realworld-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}
.ds-realworld-card-desc {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 600px) {
  .ds-realworld-section {
    padding: 64px 0;
  }
  .ds-realworld-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ds-realworld-header {
    margin-bottom: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════
   BUILT FOR TRUST, DESIGNED FOR ACCURACY — 3-column section
   ═══════════════════════════════════════════════════════════ */
.ds-trust-section {
  background: #ffffff;
  padding: 96px 0;
}
.ds-trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.ds-trust-header {
  text-align: center;
  margin-bottom: 64px;
}
.ds-trust-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ds-trust-subtitle {
  font-size: 1rem;
  color: #475569;
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.65;
}
.ds-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.ds-trust-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .ds-trust-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
    transform: translateY(-2px);
  }
}
.ds-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-trust-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
}
.ds-trust-card-desc {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .ds-trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ds-trust-section {
    padding: 64px 0;
  }
  .ds-trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ds-trust-header {
    margin-bottom: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA — TAKE CONTROL OF YOUR INSURANCE
   ═══════════════════════════════════════════════════════════ */
.ds-cta-section {
  background: #EFF6FF;
  padding: 112px 0;
}
.ds-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.ds-cta-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.ds-cta-subtitle {
  font-size: 1.0625rem;
  color: #475569;
  margin: 0 0 36px;
  line-height: 1.65;
  max-width: 520px;
}
.ds-cta-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ds-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0000cc;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ds-cta-btn-primary:hover {
  background: #0000aa;
  box-shadow: 0 4px 18px rgba(0,0,204,0.25);
  transform: translateY(-1px);
}
.ds-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #0000cc;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 12px;
  border: 1.5px solid #0000cc;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ds-cta-btn-secondary:hover {
  background: rgba(0,0,204,0.05);
  box-shadow: 0 4px 14px rgba(0,0,204,0.12);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .ds-cta-section {
    padding: 72px 0;
  }
  .ds-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .ds-cta-btn-primary,
  .ds-cta-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════════════
   PLATFORM PAGE  (plat-*)
   ═══════════════════════════════════════════════════════════ */
.plat-page {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #0F172A;
  background: #ffffff;
}

.plat-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* Shared section title */
.plat-section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  margin: 0 0 48px;
  letter-spacing: -0.01em;
}
.plat-section-sub {
  font-size: 1.0625rem;
  color: #475569;
  text-align: center;
  margin: -32px 0 48px;
}

/* Buttons */
.plat-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0000cc;
  color: #ffffff;
  border: none;
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.plat-btn-primary:hover {
  background: #0000aa;
  box-shadow: 0 6px 20px rgba(29,78,216,0.30);
}
.plat-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0000cc;
  border: 1px solid #0000cc;
  height: 48px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.plat-btn-secondary:hover {
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(29,78,216,0.12);
}

/* ── SECTION 1: HERO */
.plat-hero {
  padding: 120px 0 80px;
  background: #ffffff;
}
.plat-hero-inner {
  max-width: 680px;
}
.plat-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.plat-hero-sub {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 36px;
}
.plat-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── SECTION 2: PILLARS */
.plat-pillars {
  padding: 96px 0;
  background: #F8FAFC;
}
.plat-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plat-pillar-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 36px 32px;
}
.plat-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #EFF6FF;
  border-radius: 12px;
  margin-bottom: 20px;
}
.plat-pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px;
}
.plat-pillar-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px;
}
.plat-pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plat-pillar-list li {
  font-size: 0.9rem;
  color: #334155;
  padding-left: 20px;
  position: relative;
}
.plat-pillar-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0000cc;
  line-height: 1.4;
}

/* ── SECTION 3: HOW IT WORKS */
.plat-hiw {
  padding: 96px 0;
  background: #ffffff;
}
.plat-hiw-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.plat-hiw-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.plat-hiw-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0000cc;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1;
}
.plat-hiw-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
}
.plat-hiw-step-desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}
.plat-hiw-connector {
  width: 64px;
  flex-shrink: 0;
  height: 1px;
  background: #E2E8F0;
  align-self: center;
  margin-top: -32px;
}

/* ── SECTION 4: INTERFACE */
.plat-interface {
  padding: 96px 0;
  background: #F8FAFC;
}
.plat-interface-header {
  margin-bottom: 16px;
}
.plat-interface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plat-ui-mock {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px;
}
.plat-mock-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 20px;
}
.plat-mock-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plat-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F8FAFC;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
}
.plat-mock-row--muted { opacity: 0.75; }
.plat-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.plat-mock-dot--blue { background: #0000cc; }
.plat-mock-dot--amber { background: #F59E0B; }
.plat-mock-text {
  flex: 1;
  font-size: 0.875rem;
  color: #334155;
  font-weight: 500;
}
.plat-mock-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.plat-mock-badge--green { background: #DCFCE7; color: #166534; }
.plat-mock-badge--amber { background: #FEF9C3; color: #854D0E; }
.plat-mock-card--verify {
  gap: 20px;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.plat-mock-qr {
  display: flex;
  align-items: center;
  justify-content: center;
}
.plat-mock-verify-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.plat-mock-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.plat-mock-verify-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0F172A;
}
.plat-mock-verify-sub {
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 2px;
}

/* ── SECTION 5: REAL WORLD */
.plat-realworld {
  padding: 96px 0;
  background: #ffffff;
}
.plat-rw-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.plat-rw-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.plat-rw-intro {
  font-size: 1rem;
  color: #64748B;
  line-height: 1.65;
  margin: 0;
}
.plat-rw-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.plat-rw-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid #E2E8F0;
}
.plat-rw-item:last-child {
  border-bottom: 1px solid #E2E8F0;
}
.plat-rw-num {
  font-size: 0.8125rem !important;
  font-weight: 900 !important;
  color: #0000cc !important;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 28px;
}
.plat-rw-content {
  flex: 1;
}
.plat-rw-label {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.plat-rw-text {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* ── SECTION 6: TRUST */
.plat-trust {
  padding: 96px 0;
  background: #F8FAFC;
}
.plat-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.plat-trust-col-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
}
.plat-trust-col-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ── SECTION 7: FINAL CTA */
.plat-cta {
  padding: 100px 0;
  background: #F8FAFC;
  text-align: center;
}
.plat-cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.plat-cta-sub {
  font-size: 1.0625rem;
  color: #475569;
  margin: 0 0 36px;
}
.plat-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .plat-hero { padding: 80px 0 56px; }
  .plat-pillars-grid,
  .plat-interface-grid,
  .plat-rw-split,
  .plat-trust-grid { grid-template-columns: 1fr; }
  .plat-rw-split { gap: 40px; }
  .plat-pillars, .plat-hiw, .plat-interface,
  .plat-realworld, .plat-trust, .plat-cta { padding: 64px 0; }
  .plat-hiw-grid { flex-direction: column; gap: 40px; }
  .plat-hiw-connector { display: none; }
  .plat-hiw-step { padding: 0; }
}
@media (max-width: 480px) {
  .plat-container { padding: 0 20px; }
  .plat-hero { padding: 56px 0 40px; }
}

/* ═══════════════════════════════════════════════════════════
   ACCESS PAGE  (acc-*)
   ═══════════════════════════════════════════════════════════ */
.acc-page {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #0F172A;
  background: #ffffff;
}

.acc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.acc-section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  margin: 0 0 48px;
  letter-spacing: -0.01em;
}

/* Primary button */
.acc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0000cc;
  color: #ffffff;
  border: none;
  height: 48px;
  padding: 0 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.acc-btn-primary:hover {
  background: #0000aa;
  box-shadow: 0 6px 20px rgba(0,0,204,0.28);
}

/* ── SECTION 1: HERO */
.acc-hero {
  padding: 112px 0 80px;
  background: #ffffff;
}
.acc-hero-inner {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.acc-pilot-badge {
  display: inline-block;
  background: #EFF6FF;
  color: #0000cc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid #BFDBFE;
}
.acc-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.acc-hero-sub {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 520px;
}
.acc-hero-note {
  font-size: 0.875rem;
  color: #94A3B8;
  margin: 14px 0 0;
  font-weight: 500;
}

/* ── SECTION 2: BENEFITS */
.acc-benefits {
  padding: 96px 0;
  background: #F8FAFC;
}
.acc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.acc-benefit-block {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 28px 24px;
}
.acc-benefit-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 10px;
}
.acc-benefit-desc {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* ── SECTION 3: HOW TO JOIN */
.acc-hiw {
  padding: 96px 0;
  background: #ffffff;
}
.acc-hiw-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.acc-hiw-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.acc-hiw-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #E2E8F0;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1;
}
.acc-hiw-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
}
.acc-hiw-desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}
.acc-hiw-connector {
  width: 64px;
  flex-shrink: 0;
  height: 1px;
  background: #E2E8F0;
  align-self: center;
  margin-top: -32px;
}

/* ── SECTION 4: FUTURE PRICING */
.acc-future {
  padding: 80px 0;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}
.acc-future-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.acc-future-title {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.acc-future-sub {
  font-size: 0.9375rem;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}
.acc-future-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acc-future-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}
.acc-future-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0000cc;
  flex-shrink: 0;
}
.acc-future-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #334155;
}

/* ── SECTION 5: CTA */
.acc-cta {
  padding: 100px 0;
  background: #ffffff;
  text-align: center;
}
.acc-cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.acc-cta-sub {
  font-size: 1.0625rem;
  color: #475569;
  margin: 0 0 32px;
}

/* ── MOBILE */
@media (max-width: 900px) {
  .acc-benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .acc-hero { padding: 72px 0 56px; }
  .acc-benefits-grid { grid-template-columns: 1fr; }
  .acc-benefits, .acc-hiw, .acc-future, .acc-cta { padding: 64px 0; }
  .acc-hiw-grid { flex-direction: column; gap: 40px; }
  .acc-hiw-connector { display: none; }
  .acc-hiw-step { padding: 0; }
  .acc-future-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .acc-container { padding: 0 20px; }
}

/* ═══════════════════════════════════════════════════════════
   PILOT / GET STARTED PAGE  (pilot-*)
   ═══════════════════════════════════════════════════════════ */
.pilot-page {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #0F172A;
  background: #ffffff;
}

.pilot-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

/* ── SECTION 1+2: TOP (hero + form side by side) */
.pilot-top {
  padding: 100px 0 80px;
  background: #ffffff;
}

.pilot-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left — intro */
.pilot-badge {
  display: inline-block;
  background: #EFF6FF;
  color: #0000cc;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid #BFDBFE;
  margin-bottom: 20px;
}

.pilot-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}

.pilot-subtitle {
  font-size: 1.0625rem;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 10px;
  font-weight: 500;
}

.pilot-support {
  font-size: 0.9375rem;
  color: #64748B;
  line-height: 1.65;
  margin: 0;
}

/* Right — form */
.pilot-form-wrap {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 36px 32px;
}

.pilot-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pilot-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.pilot-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.01em;
}

.pilot-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #0F172A;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-appearance: none;
}

.pilot-input:focus {
  outline: none;
  border-color: #0000cc;
  box-shadow: 0 0 0 3px rgba(29,78,216,0.10);
}

.pilot-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.pilot-submit {
  width: 100%;
  height: 50px;
  background: #0000cc;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.18s, box-shadow 0.18s;
  font-family: 'Inter', sans-serif;
}

.pilot-submit:hover {
  background: #0000aa;
  box-shadow: 0 6px 20px rgba(29,78,216,0.28);
}

.pilot-micro {
  font-size: 0.8rem;
  color: #94A3B8;
  text-align: center;
  margin: 10px 0 2px;
}

.pilot-phase {
  font-size: 0.8rem;
  color: #94A3B8;
  text-align: center;
  margin: 0;
}

.pilot-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #166534;
}

/* ── SECTION 3: BENEFITS */
.pilot-benefits {
  padding: 80px 0 100px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.pilot-benefits-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.pilot-benefits-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.pilot-benefits-sub {
  font-size: 0.9375rem;
  color: #64748B;
  line-height: 1.65;
  margin: 0;
}

.pilot-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.pilot-perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.9375rem;
  color: #334155;
  font-weight: 500;
}

.pilot-perk-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.pilot-perk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0000cc;
  flex-shrink: 0;
}

/* ── MOBILE */
@media (max-width: 900px) {
  .pilot-perks-list { grid-template-columns: 1fr; }
  .pilot-perk-item:nth-last-child(-n+2) { border-bottom: 1px solid #E2E8F0; }
  .pilot-perk-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .pilot-top { padding: 72px 0 56px; }
  .pilot-top-grid { grid-template-columns: 1fr; gap: 40px; }
  .pilot-benefits-inner { grid-template-columns: 1fr; gap: 40px; }
  .pilot-benefits { padding: 64px 0; }
}

@media (max-width: 480px) {
  .pilot-container { padding: 0 20px; }
  .pilot-form-wrap { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD  (db-*)
   ═══════════════════════════════════════════════════════════ */
.db-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  box-sizing: border-box;
}

/* ── HEADER BAR */
.db-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.db-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.db-page-title {
  font-size: 1.625rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}
.db-welcome {
  font-size: 0.875rem;
  color: #64748B;
  font-weight: 400;
}
.db-header-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Header buttons */
.db-btn-primary {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  background: #0000cc;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, box-shadow 0.18s;
  font-family: 'Inter', sans-serif;
}
.db-btn-primary:hover {
  background: #0000aa;
  box-shadow: 0 4px 14px rgba(29,78,216,0.28);
}
.db-btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  background: #ffffff;
  color: #0000cc;
  border: 1px solid #0000cc;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
  font-family: 'Inter', sans-serif;
}
.db-btn-secondary:hover { background: #EFF6FF; }

/* ── STATS GRID override for dashboard */
.db-stats-grid {
  margin-bottom: 40px !important;
}

/* ── MAIN 70/30 GRID */
.db-main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

/* Section labels */
.db-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 16px;
}

/* Left: lines wrap */
.db-lines-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Empty state */
.db-empty-state {
  font-size: 0.9375rem;
  color: #94A3B8;
  padding: 24px 0;
  margin: 0;
}

/* Right panel */
.db-panel {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
}

/* Quick action rows */
.db-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.db-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #F1F5F9;
  padding: 14px 0;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: color 0.15s;
  color: #0F172A;
}
.db-action-row:last-child { border-bottom: none; }
.db-action-row:hover { color: #0000cc; }
.db-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #F1F5F9;
  border-radius: 8px;
  flex-shrink: 0;
  color: #0000cc;
  transition: background 0.15s;
}
.db-action-row:hover .db-action-icon { background: #EFF6FF; }
.db-action-text {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
}
.db-action-arrow {
  color: #CBD5E1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.db-action-row:hover .db-action-arrow { color: #0000cc; }

/* Activity wrap */
.db-activity-wrap {
  min-height: 60px;
}

/* ── MOBILE */
@media (max-width: 900px) {
  .db-main-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .db-wrap { padding: 24px 20px 60px; }
  .db-header { flex-direction: column; align-items: flex-start; }
  .db-btn-primary, .db-btn-secondary { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   POLICY DETAIL CARD  (pd-*)
   ═══════════════════════════════════════════════════════════ */

/* ── CARD WRAPPER */
.pd-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow 0.18s;
}
.pd-card:hover { box-shadow: 0 4px 20px rgba(15,23,42,0.07); }

/* ── CARD HEADER */
.pd-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 12px;
  background: #ffffff;
}
.pd-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.pd-line-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: #EFF6FF;
  color: #0000cc;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.pd-identifier {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-ready-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}
.pd-pending-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  flex-shrink: 0;
}
.pd-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pd-status-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pd-status-active  { background: #F0FDF4; color: #16A34A; }
.pd-status-expiring { background: #FFF7ED; color: #C2410C; }
.pd-status-inactive { background: #F8FAFC; color: #64748B; }

.pd-chevron {
  color: #94A3B8;
  transition: transform 0.22s;
  flex-shrink: 0;
}
.pd-card.open .pd-chevron { transform: rotate(180deg); }

/* ── CARD BODY */
.pd-card-body {
  border-top: 1px solid #F1F5F9;
}

/* ── SECTION LABEL */
.pd-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 12px;
}

/* ── POLICY SUMMARY GRID */
.pd-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #F1F5F9;
}
.pd-summary-col {
  padding: 24px;
}
.pd-summary-col:first-child {
  border-right: 1px solid #F1F5F9;
}

/* ── SUMMARY ROWS */
.pd-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #F8FAFC;
  font-size: 0.875rem;
}
.pd-row:last-child { border-bottom: none; }
.pd-row-label {
  color: #64748B;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.pd-row-value {
  color: #0F172A;
  font-weight: 600;
  text-align: right;
}
.pd-mono { font-family: 'Courier New', monospace; letter-spacing: 0.02em; }

/* Status chips inside rows */
.pd-chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}
.pd-chip-ready   { background: #F0FDF4; color: #16A34A; }
.pd-chip-pending { background: #FFF7ED; color: #C2410C; }

/* ── VERIFICATION SECTION */
.pd-verify-section {
  padding: 24px;
  border-bottom: 1px solid #F1F5F9;
}
.pd-verify-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.pd-qr-wrap {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pd-verify-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-verify-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #16A34A;
}
.pd-verify-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}
.pd-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
}
.pd-link-text {
  flex: 1;
  font-size: 0.78rem;
  color: #475569;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pd-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s;
}
.pd-copy-btn:hover { border-color: #0000cc; color: #0000cc; }
.pd-share-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pd-share-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pd-share-pill:hover { background: #EFF6FF; border-color: #BFDBFE; color: #0000cc; }
.pd-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s, color 0.15s;
}
.pd-download-btn:hover { border-color: #0000cc; color: #0000cc; }

/* ── FOOTER ACTIONS */
.pd-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #F1F5F9;
  flex-wrap: wrap;
}

/* ── MOBILE */
@media (max-width: 640px) {
  .pd-summary-grid { grid-template-columns: 1fr; }
  .pd-summary-col:first-child { border-right: none; border-bottom: 1px solid #F1F5F9; }
  .pd-summary-col { padding: 20px; }
  .pd-card-header { padding: 16px 20px; }
  .pd-verify-grid { flex-direction: column; }
  .pd-qr-wrap { width: 100px; height: 100px; }
  .pd-footer-actions { justify-content: stretch; }
  .pd-footer-actions button { flex: 1; justify-content: center; }
}

/* ══════════════════════════════════════════════════════
   UI MOCK CARDS — My Policies + Verify Coverage
   Used in: Pillars section (homepage) + Platform page
   Version: ui-mock-v1
   ══════════════════════════════════════════════════════ */

.ui-mock-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 20px 16px;
  box-shadow: 0 4px 24px rgba(15,23,42,0.08);
  width: 100%;
  max-width: 280px;
}

/* Title */
.ui-mock-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

/* Policy row */
.ui-mock-policy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #F8FAFC;
}
.ui-mock-policy-row:last-child { border-bottom: none; }

/* Coloured icon circle */
.ui-mock-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui-icon-auto   { background: #22C55E; }
.ui-icon-home   { background: #3B82F6; }
.ui-icon-rental { background: #F97316; }
.ui-icon-comm   { background: #1E3A5F; }

/* Policy info (name + number) */
.ui-mock-pol-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ui-mock-pol-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.2;
}
.ui-mock-pol-num {
  font-size: 0.72rem;
  color: #94A3B8;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  letter-spacing: 0.03em;
}

/* Status pills */
.ui-mock-status {
  flex-shrink: 0;
  height: 22px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 0.69rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.ui-status-active {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}
.ui-status-renew {
  background: #FFF7ED;
  color: #EA580C;
  border: 1px solid #FED7AA;
}

/* ── VERIFY CARD VARIANT */
.ui-mock-card--verify {
  text-align: center;
  padding: 20px 20px 18px;
}
.ui-mock-shield-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.ui-mock-shield-icon {
  width: 48px;
  height: 48px;
  background: #F0FDF4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ui-mock-verify-status {
  font-size: 1rem;
  font-weight: 800;
  color: #16A34A;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ui-mock-verify-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}
.ui-mock-verify-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
  margin-bottom: 12px;
}
.ui-mock-verify-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #16A34A;
  animation: uiPulse 2s ease-in-out infinite;
}
@keyframes uiPulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.ui-mock-verify-rows {
  text-align: left;
  border-top: 1px solid #F1F5F9;
  padding-top: 10px;
}
.ui-mock-ver-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #F8FAFC;
  font-size: 0.75rem;
}
.ui-mock-ver-row:last-child { border-bottom: none; }
.ui-mock-ver-label { color: #94A3B8; font-weight: 500; }
.ui-mock-ver-val   { color: #0F172A; font-weight: 600; }

/* ══════════════════════════════════════════════════════
   CIV — Control & Instant Verification section
   Phone mockup 2-col layout below hero
   ══════════════════════════════════════════════════════ */

.civ-section {
  background: #ffffff;
  padding: 80px 24px;
}

.civ-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.civ-header {
  text-align: center;
  margin-bottom: 50px;
}
.civ-heading {
  font-size: 2.25rem;
  font-weight: 600;
  color: #0B0F19;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.civ-subtext {
  font-size: 1rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Image grid */
.civ-image-grid {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.civ-image-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.civ-col-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6B7280;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.01em;
}

.civ-phone-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Bullets */
.civ-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.civ-bullets li {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.civ-bullets li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0000cc;
  flex-shrink: 0;
}

/* CTA */
.civ-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.civ-cta-btn {
  background: #0000cc;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
}
.civ-cta-btn:hover { background: #0000aa; }
.civ-cta-sub {
  font-size: 0.8125rem;
  color: #6B7280;
  text-align: center;
}

/* Mobile */
@media (max-width: 700px) {
  .civ-section { padding: 50px 20px; }
  .civ-heading { font-size: 1.625rem; }
  .civ-image-grid { gap: 40px; flex-direction: column; }
  .civ-phone-img { max-width: 280px; }
}

/* ── PILLAR PHONE IMAGE (replaces ui-mock-card in pillars section) */
.ds-pillar-phone-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
  margin: 0 auto;
  box-shadow: none;
  filter: none;
}

/* ════════════════════════════════════════════════════════════════════
   AI ASSISTANT — Fixed Right-Side Panel (v34)
   Replaces the old floating robot widget.
   All legacy .ai-widget styles are suppressed here.
   ════════════════════════════════════════════════════════════════════ */

/* Suppress old floating widget entirely */
.ai-widget { display: none !important; }

/* Nav AI button — subtle outline */
.nav-ai-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  color: #0000cc !important;
  border: 1px solid #0000cc !important;
  border-radius: 10px !important;
  height: 40px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  cursor: pointer !important;
  margin-left: 20px !important;
  white-space: nowrap !important;
  transition: background 0.15s, box-shadow 0.15s !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}
.nav-ai-btn:hover {
  background: #f0f0ff !important;
  box-shadow: 0 2px 8px rgba(0,0,204,0.10) !important;
}
.nav-ai-btn svg { flex-shrink: 0; stroke: #0000cc; }

/* Mobile AI link in drawer */
.nav-mobile-ai {
  display: block;
  background: #0000cc;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 10px 16px !important;
  margin-top: 8px;
  font-weight: 600 !important;
  text-align: center;
}

/* ── Fixed panel ── */
.ai-panel-fixed {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 420px !important;
  height: 100vh !important;
  z-index: 1100 !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border-left: 1px solid #E2E8F0 !important;
  box-shadow: -6px 0 32px rgba(15,23,42,0.10) !important;
  overflow: hidden !important;
  bottom: auto !important;
  left: auto !important;
  border-radius: 0 !important;
}

/* Override any legacy ai-widget-panel positioning */
#ai-widget-panel {
  position: fixed !important;
  bottom: auto !important;
  right: 0 !important;
  top: 0 !important;
  width: 420px !important;
  height: 100vh !important;
  border-radius: 0 !important;
  flex-direction: column !important;
  z-index: 1100 !important;
}

/* Panel header */
.ai-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E2E8F0;
  background: #0000cc;
  flex-shrink: 0;
}
.ai-panel-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-panel-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}
.ai-panel-subtitle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
  margin-top: 1px;
}
.ai-panel-header-actions {
  display: flex;
  gap: 6px;
}
.ai-panel-icon-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: background 0.15s;
  flex-shrink: 0;
}
.ai-panel-icon-btn:hover { background: rgba(255,255,255,0.28); }

/* Messages area */
.ai-panel-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

/* Override the old ai-widget-messages if targeted directly */
#ai-widget-messages {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 20px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  max-height: none !important;
  height: auto !important;
}

/* Prompt chips */
.ai-panel-prompts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.ai-prompt-chip {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  color: #0F172A;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, border-color 0.12s;
  white-space: normal;
  line-height: 1.4;
}
.ai-prompt-chip:hover {
  background: #E0E7FF;
  border-color: #0000cc;
  color: #0000cc;
}

/* Input area */
.ai-panel-input-wrap {
  flex-shrink: 0;
  border-top: 1px solid #E2E8F0;
  background: #ffffff;
  padding: 12px 16px 10px;
}
.ai-panel-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 6px 8px;
}
.ai-panel-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: #0F172A;
  outline: none;
  padding: 4px 4px;
  min-width: 0;
}
.ai-panel-input::placeholder { color: #94A3B8; }
.ai-panel-send-btn {
  background: #0000cc;
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ai-panel-send-btn:hover { background: #0000aa; }
.ai-panel-footer-note {
  font-size: 0.6875rem;
  color: #94A3B8;
  text-align: center;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
}

/* Message bubbles — override old dark header bg if inherited */
#ai-widget-panel .ai-w-msg { margin: 0; }
#ai-widget-panel .ai-w-user .ai-w-bubble {
  background: #0000cc;
  color: #ffffff;
}
#ai-widget-panel .ai-w-ai .ai-w-bubble {
  background: #F1F5F9;
  color: #0F172A;
}

/* Mobile — full width */
@media (max-width: 600px) {
  .ai-panel-fixed,
  #ai-widget-panel {
    width: 100vw !important;
    border-left: none !important;
  }
  .nav-ai-btn { font-size: 13px !important; padding: 0 12px !important; margin-left: 10px !important; }
}


/* High-specificity brand spans — beats the *:not() Inter override in style.css */
#navbar .nav-brand .nav-brand-pre,
#navbar .nav-brand .nav-brand-name .nav-brand-pre {
  color: #0000cc !important;
  font-weight: 700 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 15px !important;
  font-style: normal !important;
}

#navbar .nav-brand .nav-brand-suf,
#navbar .nav-brand .nav-brand-name .nav-brand-suf {
  color: #0000cc !important;
  font-weight: 700 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 24px !important;
  font-style: normal !important;
}

@media (max-width: 768px) {
  .nav-inner { height: 64px !important; }
}

@media (max-width: 600px) {
  #navbar .nav-brand .nav-brand-pre,
  #navbar .nav-brand .nav-brand-name .nav-brand-pre { font-size: 13px !important; }
  #navbar .nav-brand .nav-brand-suf,
  #navbar .nav-brand .nav-brand-name .nav-brand-suf { font-size: 20px !important; }
}

/* ── ABOUT PAGE v2 ─────────────────────────────── */
.about-v2-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}
.about-v2-hero {
  text-align: center;
  margin-bottom: 80px;
  padding-bottom: 64px;
  border-bottom: 1px solid #E2E8F0;
}
.about-v2-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.about-v2-subtitle {
  font-size: 1.125rem;
  color: #374151;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.about-v2-section {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid #E2E8F0;
}
.about-v2-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.about-v2-h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.about-v2-body {
  max-width: 640px;
}
.about-v2-body p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 16px;
}
.about-v2-body p:last-child { margin-bottom: 0; }
.about-v2-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.about-v2-list li {
  font-size: 1rem;
  color: #374151;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.65;
}
.about-v2-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: #0000cc;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.65;
}
.about-v2-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-v2-pillar {
  padding: 28px 24px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #ffffff;
}
.about-v2-pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px;
}
.about-v2-pillar-desc {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.65;
  margin: 0;
}
.about-v2-name-display {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .about-v2-container { padding: 56px 20px 72px; }
  .about-v2-title { font-size: 2rem; }
  .about-v2-pillars { grid-template-columns: 1fr; }
  .about-v2-h2 { font-size: 1.25rem; }
}

/* ── ABOUT PAGE v2 — ENHANCED STYLES ──────────── */
.about-v2-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0000cc;
  margin-bottom: 14px;
}
.about-v2-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
.about-v2-split-left { padding-top: 2px; }
.about-v2-stat-strip {
  background: #0000cc;
  padding: 80px 32px;
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.about-v2-split-right.about-v2-body {
  max-width: none !important;
}
.about-v2-stat-inner {
  max-width: 860px;
  margin: 0 auto;
}
.about-v2-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.about-v2-stat-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.about-v2-stat-from {
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.35);
}
.about-v2-stat-arrow {
  font-size: 2rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}
.about-v2-stat-to {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
}
.about-v2-stat-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.about-v2-pullquote {
  border-left: 3px solid #0000cc;
  margin: 24px 0;
  padding: 10px 0 10px 20px;
  font-size: 1.0625rem;
  font-style: italic;
  color: #0F172A;
  line-height: 1.75;
}
.about-v2-pillar {
  padding: 28px 24px !important;
  border: none !important;
  border-top: 3px solid #0000cc !important;
  border-radius: 0 0 12px 12px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07) !important;
}
@media (max-width: 768px) {
  .about-v2-split { grid-template-columns: 1fr; gap: 20px; }
  .about-v2-stat-from, .about-v2-stat-to { font-size: 1.5rem; }
  .about-v2-stat-arrow { font-size: 1.375rem; }
  .about-v2-stat-strip { padding: 56px 24px; }
}
#page-about { overflow-x: hidden; }

/* ── ABOUT PAGE — MEASURED IMPACT SECTION ─────── */
.about-v2-impact-subtitle {
  font-size: 0.9375rem;
  color: #64748B;
  margin: -12px 0 40px;
  line-height: 1.6;
}
.about-v2-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-v2-stat-block {
  text-align: center;
  padding: 44px 28px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.about-v2-stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.about-v2-stat-num.stat-blue { color: #1D4ED8; }
.about-v2-stat-num.stat-dark { color: #0F172A; }
.about-v2-stat-desc {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.55;
}
.about-v2-stat-num2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0F172A;
  margin-top: 16px;
  letter-spacing: -0.01em;
}
@media (max-width: 640px) {
  .about-v2-stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-v2-stat-num { font-size: 2rem; }
  .about-v2-stat-num2 { font-size: 1.5rem; }
  .about-v2-stat-block { padding: 32px 20px; }
}

/* ── CIV ANIMATED PHONE FRAMES ────────────────── */
.civ-phone-frame {
  width: 220px;
  border-radius: 40px;
  border: 7px solid #1a1a2e;
  background: #f8fafc;
  overflow: hidden;
  position: relative;
  box-shadow: none;
}
.civ-phone-notch {
  height: 22px;
  background: #1a1a2e;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 5px;
}
.civ-phone-pill {
  width: 52px;
  height: 6px;
  background: #2d2d4e;
  border-radius: 3px;
}
.civ-phone-screen {
  background: #f8fafc;
  padding: 14px 12px 16px;
  min-height: 360px;
}
.civ-screen-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 10px;
}
.civ-screen-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}
.civ-screen-add {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #0000cc;
}

/* Policy cards */
.civ-policies-list { display: flex; flex-direction: column; gap: 8px; }
.civ-policy-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 12px;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(.34,1.56,.64,1), background 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}
.civ-policy-card.civ-pol-active {
  border-color: #0000cc;
  background: #f0f0ff;
  transform: scale(1.035);
}
.civ-policy-line1 {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}
.civ-policy-line2 {
  font-size: 0.625rem;
  color: #64748B;
  margin-bottom: 6px;
}
.civ-policy-badge {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 600;
  background: #dcfce7;
  color: #166534;
  border-radius: 20px;
  padding: 1px 7px;
}
.civ-tap-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0,0,204,0.12);
  transform: translate(-50%, -50%) scale(0);
  transition: none;
  pointer-events: none;
}
.civ-tap-ring.civ-ring-burst {
  animation: civRingBurst 0.45s ease-out forwards;
}
@keyframes civRingBurst {
  0%   { width: 0; height: 0; opacity: 1; transform: translate(-50%, -50%) scale(0); }
  100% { width: 120px; height: 120px; opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

/* QR / verify stage */
.civ-qr-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  transition: opacity 0.4s ease;
}
.civ-qr-stage.civ-hidden { opacity: 0; pointer-events: none; position: absolute; }
.civ-qr-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 12px;
}
.civ-qr-svg {
  width: 130px;
  height: 130px;
  display: block;
}
.civ-scan-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #0000cc, transparent);
  box-shadow: 0 0 8px 2px rgba(0,0,204,0.5);
  top: 0;
  opacity: 0;
  border-radius: 2px;
}
.civ-scan-bar.civ-scanning {
  animation: civScanDown 1.4s linear forwards;
}
@keyframes civScanDown {
  0%   { top: 0%;   opacity: 1; }
  100% { top: 100%; opacity: 0.7; }
}
.civ-qr-hint {
  font-size: 0.625rem;
  color: #94A3B8;
  text-align: center;
  margin: 0;
}

/* Verified result */
.civ-verify-result {
  display: none;
  flex-direction: column;
  align-items: center;
  animation: civFadeUp 0.5s ease forwards;
}
.civ-verify-result.civ-show {
  display: flex;
}
@keyframes civFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.civ-result-check {
  font-size: 0.75rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 16px;
  text-align: center;
}
.civ-result-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.civ-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  padding: 7px 10px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}
.civ-result-row span { color: #64748B; }
.civ-result-row strong { color: #0F172A; font-weight: 600; }
.civ-result-live {
  font-size: 0.5625rem;
  font-weight: 700;
  background: #0000cc;
  color: #fff;
  border-radius: 20px;
  padding: 2px 8px;
  letter-spacing: 0.04em;
}

/* ── CIV PHONE — UPDATED CONTENT STYLES ─────── */
.civ-pol-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.civ-pol-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.civ-badge-renew {
  background: #fef3c7 !important;
  color: #92400e !important;
}

/* Jane Doe verified card */
.civ-jane-shield {
  width: 36px;
  height: 36px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 8px;
}
.civ-jane-status {
  font-size: 0.625rem;
  font-weight: 600;
  color: #64748B;
  text-align: center;
  margin-bottom: 2px;
}
.civ-jane-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.civ-jane-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #166534;
  background: #dcfce7;
  border-radius: 20px;
  padding: 3px 10px;
  margin: 0 auto 12px;
}
.civ-jane-dot {
  width: 5px;
  height: 5px;
  background: #16a34a;
  border-radius: 50%;
  display: inline-block;
}
.civ-jane-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.civ-jane-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.625rem;
  padding: 6px 8px;
  background: #F8FAFC;
  border-radius: 7px;
  border: 1px solid #E2E8F0;
}
.civ-jane-row span { color: #64748B; }
.civ-jane-row strong { color: #0F172A; font-weight: 600; }

/* Align verify result as column */
#civVerifyResult {
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ── CIV PHONE — IMAGE SCREEN ───────────────── */
.civ-phone-screen-img {
  flex: 1;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  display: flex;
  align-items: flex-start;
  background: #fff;
}
.civ-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 32px 32px;
}

/* ── CIV MOCKUP — FRAMELESS LARGE IMAGES ─────── */
.civ-mockup-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  border-radius: 28px;
}
@media (max-width: 768px) {
  .civ-mockup-img { max-width: 280px; }
}

/* ── MOCKUP IMAGE FIXES ──────────────────────── */

/* Remove border-radius — images carry their own phone shape */
.civ-mockup-img {
  border-radius: 0 !important;
  background: transparent !important;
}

/* Home: force row on desktop, column only on mobile */
.civ-image-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 48px !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
.civ-image-col {
  flex: 0 0 auto !important;
  align-items: center !important;
}
@media (max-width: 700px) {
  .civ-image-grid {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }
}

/* Platform: remove white card frame from mock wrappers */
.plat-ui-mock {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

/* Platform grid: keep 2-col on desktop, gap up */
.plat-interface-grid {
  gap: 48px !important;
}

/* Expired status pill */
.ui-status-expired {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}
/* Widen mockup card to fit 5 rows comfortably */
.ui-mock-card { max-width: 320px !important; }

/* ── PHONE FRAME — PERMANENT LARGE FORMAT ─────── */
.civ-phone-frame {
  width: 300px !important;
  border-radius: 44px !important;
  border: 8px solid #1a1a2e !important;
}
.civ-phone-screen {
  background: #fff !important;
  padding: 14px 14px 18px !important;
  min-height: unset !important;
}
/* Policy rows sit flush inside the phone screen */
.civ-phone-screen .ui-mock-policy-row {
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
}
.civ-phone-screen .ui-mock-policy-row:last-child {
  border-bottom: none;
}

/* Verify phone — centred Jane Doe card */
.civ-phone-screen--verify {
  display: flex;
  flex-direction: column;
}
.civ-jane-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  width: 100%;
}
.civ-jane-shield {
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto 10px !important;
}
.civ-jane-rows {
  width: 100% !important;
}

/* Platform mock — reset padding so phone sits clean */
.plat-ui-mock {
  padding: 0 !important;
  justify-content: center !important;
}

/* Mobile: stack phones */
@media (max-width: 700px) {
  .civ-phone-frame { width: 270px !important; }
}

/* ── EQUAL HEIGHT PHONES ─────────────────────── */
.civ-image-grid {
  align-items: stretch !important;
}
.civ-image-col {
  flex-direction: column !important;
}
.civ-image-col .civ-phone-frame {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 300px !important;
}
.civ-image-col .civ-phone-screen {
  flex: 1 !important;
}
/* Platform equal height */
.plat-interface-grid {
  align-items: stretch !important;
}
.plat-ui-mock .civ-phone-frame {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 300px !important;
}
.plat-ui-mock .civ-phone-screen {
  flex: 1 !important;
}

/* ── QR MINI SECTION (verify phone) ─────────── */
.civ-verify-qr-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 6px;
}
.civ-qr-mini-svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.civ-verify-scan-done {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #16A34A;
}
.civ-verify-divider {
  width: 100%;
  height: 1px;
  background: #E2E8F0;
  margin: 6px 0 8px;
}

/* ── RICH VERIFY PHONE SCREEN ────────────────── */
.civ-phone-screen--verify {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: none;
}
.civ-phone-screen--verify::-webkit-scrollbar { display: none; }

/* App bar */
.civ-ver-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 8px;
  border-bottom: 1px solid #F1F5F9;
  margin: 0 -14px;
  margin-bottom: 10px;
}
.civ-ver-bar-brand {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0000cc;
}
.civ-ver-bar-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0000cc;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

/* Jane wrap — tighter for rich screen */
.civ-phone-screen--verify .civ-jane-wrap {
  padding-top: 4px !important;
  margin-bottom: 10px;
}
.civ-phone-screen--verify .civ-jane-shield {
  width: 40px !important;
  height: 40px !important;
  margin-bottom: 6px !important;
}
.civ-phone-screen--verify .civ-jane-name {
  margin-bottom: 6px !important;
}
.civ-phone-screen--verify .civ-jane-pill {
  margin-bottom: 0 !important;
}

/* Policy details section */
.civ-ver-section-label {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94A3B8;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 6px;
}
.civ-ver-detail-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.civ-ver-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.5875rem;
  padding: 3px 0;
  border-bottom: 1px solid #F8FAFC;
}
.civ-ver-row span { color: #64748B; }
.civ-ver-row strong { color: #0F172A; font-weight: 600; text-align: right; max-width: 55%; }

/* Checkmarks */
.civ-ver-checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.civ-ver-check-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.5875rem;
  color: #16A34A;
  font-weight: 500;
}

/* Footer */
.civ-ver-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #E2E8F0;
  margin-top: auto;
}
.civ-ver-footer .civ-qr-mini-svg {
  width: 40px !important;
  height: 40px !important;
}
.civ-ver-footer-brand {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0000cc;
  text-align: right;
}

/* ── PHONE MOCKUP IMAGES (replace HTML frames) ──────────────────── */
.civ-phone-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}
.civ-image-grid {
  align-items: flex-start !important;
}
.plat-interface-grid {
  align-items: flex-start !important;
}
.plat-ui-mock--left,
.plat-ui-mock--right {
  flex: unset !important;
  height: auto !important;
}
.civ-image-col {
  flex: unset !important;
  height: auto !important;
}
@media (max-width: 600px) {
  .civ-phone-img { max-width: 240px; }
}

/* ── STANDALONE PHONE IMAGES v2 ─────────────────────────────────── */
.civ-phone-img {
  display: block !important;
  width: 100% !important;
  max-width: 360px !important;
  height: auto !important;
  margin: 0 auto !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}
.civ-image-grid {
  gap: 40px !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
.civ-image-col {
  flex: 0 1 380px !important;
  height: auto !important;
  min-height: unset !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.plat-interface-grid {
  gap: 40px !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
.plat-ui-mock--left,
.plat-ui-mock--right {
  flex: 0 1 380px !important;
  height: auto !important;
  min-height: unset !important;
  display: flex !important;
  justify-content: center !important;
}
@media (max-width: 768px) {
  .civ-phone-img { max-width: 300px !important; }
}
@media (max-width: 480px) {
  .civ-phone-img { max-width: 260px !important; }
}

/* ── PHONE IMAGES — BIGGER ───────────────────── */
.civ-phone-img {
  max-width: 480px !important;
}
.civ-image-col {
  flex: 0 1 500px !important;
}
.plat-ui-mock--left,
.plat-ui-mock--right {
  flex: 0 1 500px !important;
}
@media (max-width: 1024px) {
  .civ-phone-img { max-width: 380px !important; }
}
@media (max-width: 768px) {
  .civ-phone-img { max-width: 320px !important; }
}
@media (max-width: 480px) {
  .civ-phone-img { max-width: 280px !important; }
}

/* ══ INTERACTIVE PHONE WRAPS ═══════════════════════════════════════ */
.civ-phone-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* Hover: lift + brand glow (drop-shadow respects PNG transparency) */
.civ-phone-wrap .civ-phone-img {
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), filter 0.4s ease !important;
  cursor: pointer;
}
.civ-phone-wrap:hover .civ-phone-img {
  transform: translateY(-12px) !important;
  filter: drop-shadow(0 28px 40px rgba(0,0,204,0.22)) !important;
}

/* Callout bubbles */
.civ-callout {
  position: absolute;
  background: #ffffff;
  border: 1.5px solid #E2E8F0;
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0F172A;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  white-space: nowrap;
  pointer-events: none;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34,1.3,0.64,1);
}

/* Left-side bubbles: float left of the phone */
.civ-callout--left {
  right: 8px;
  transform: translateX(calc(-100% - 8px)) translateY(6px);
}
.civ-callout--left.is-visible {
  opacity: 1;
  transform: translateX(calc(-100% - 8px)) translateY(0);
}

/* Right-side bubbles: float right of the phone */
.civ-callout--right {
  left: 8px;
  transform: translateX(calc(100% + 8px)) translateY(6px);
}
.civ-callout--right.is-visible {
  opacity: 1;
  transform: translateX(calc(100% + 8px)) translateY(0);
}

/* Connector dot */
.civ-callout-connector {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0000cc;
  flex-shrink: 0;
}

/* Hide callouts on small screens where there's no room */
@media (max-width: 900px) {
  .civ-callout { display: none !important; }
}

/* ── CALLOUT OUTER POSITION FIX ─────────────────────────────────── */
/* Left phone: both bubbles go LEFT (outer edge) */
.civ-callout--left {
  right: calc(100% + 14px) !important;
  left: auto !important;
  transform: translateY(10px) !important;
}
.civ-callout--left.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Right phone: both bubbles go RIGHT (outer edge) */
.civ-callout--right {
  left: calc(100% + 14px) !important;
  right: auto !important;
  transform: translateY(10px) !important;
}
.civ-callout--right.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Allow bubbles to overflow their column bounds */
.civ-image-col,
.civ-phone-wrap,
.plat-ui-mock--left,
.plat-ui-mock--right {
  overflow: visible !important;
}
.civ-image-grid {
  overflow: visible !important;
}

/* ══ PHONE DEMO ANIMATIONS ══════════════════════════════════════════ */
.civ-anim-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  border-radius: 36px;
  overflow: hidden;
}

/* ── LEFT PHONE: Row tap highlights ─────────────────────── */
.civ-row-tap {
  position: absolute;
  left: 6%;
  right: 6%;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 204, 0);
  background: rgba(0, 0, 204, 0);
  transition: none;
}
.civ-row-tap.tapped {
  animation: rowTapAnim 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes rowTapAnim {
  0%   { border-color: rgba(0,0,204,0);    background: rgba(0,0,204,0);    transform: scale(1); }
  15%  { border-color: rgba(0,0,204,0.45); background: rgba(0,0,204,0.07); transform: scale(1.025); }
  40%  { border-color: rgba(0,0,204,0.35); background: rgba(0,0,204,0.05); transform: scale(1.015); }
  75%  { border-color: rgba(0,0,204,0.2);  background: rgba(0,0,204,0.03); transform: scale(1); }
  100% { border-color: rgba(0,0,204,0);    background: rgba(0,0,204,0);    transform: scale(1); }
}

/* ── RIGHT PHONE: Scan + reveal ─────────────────────────── */
/* Frosted cover over the policy detail rows */
.civ-details-cover {
  position: absolute;
  left: 4%; right: 4%;
  top: 37%; height: 32%;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 10px;
  opacity: 1;
  transition: opacity 0.7s ease;
}
.civ-details-cover.revealed {
  opacity: 0;
}

/* Green scan beam */
.civ-scan-beam {
  position: absolute;
  left: 15%; right: 15%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #16A34A 30%, #22C55E 50%, #16A34A 70%, transparent 100%);
  box-shadow: 0 0 10px 2px rgba(34, 197, 94, 0.55);
  top: 68%;
  opacity: 0;
  border-radius: 2px;
}
.civ-scan-beam.scanning {
  animation: scanBeamAnim 1.4s ease-in-out forwards;
}
@keyframes scanBeamAnim {
  0%   { top: 68%; opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 80%; opacity: 0; }
}

/* Green verified flash */
.civ-verified-flash {
  position: absolute;
  left: 0; right: 0;
  top: 30%; height: 12%;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.28) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.civ-verified-flash.flashing {
  animation: verifiedFlash 0.7s ease forwards;
}
@keyframes verifiedFlash {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ══ PREMIUM PHONE DEMO — Ghost Finger + Press + Tilt ══════════════ */

/* Ghost finger cursor */
.civ-finger {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.70);
  border: 1.5px solid rgba(255,255,255,0.95);
  box-shadow:
    0 4px 18px rgba(0,0,0,0.22),
    0 1px 4px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  /* position transitions driven by JS left/top */
  transition:
    left 0.48s cubic-bezier(0.4, 0, 0.2, 1),
    top  0.48s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.15s ease,
    background 0.15s ease;
  left: 72%;
  top: 23%;
}
.civ-finger.pressing {
  transform: translate(-50%, -50%) scale(0.72) !important;
  background: rgba(200,210,255,0.85) !important;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.4) !important;
  transition:
    left 0.48s cubic-bezier(0.4, 0, 0.2, 1),
    top  0.48s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.10s ease,
    background 0.10s ease !important;
}

/* Row press overlay — subtle brightness flash, NO blue border */
.civ-row-tap {
  position: absolute;
  left: 5.5%;
  right: 5.5%;
  border-radius: 14px;
  background: transparent;
  border: none !important;
  overflow: hidden;
}
.civ-row-tap.pressing {
  animation: premiumPress 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes premiumPress {
  0%   { background: rgba(0,0,0,0);        transform: scale(1); }
  18%  { background: rgba(0,0,0,0.055);    transform: scale(0.978); }
  42%  { background: rgba(255,255,255,0.12); transform: scale(1.008); }
  68%  { background: rgba(255,255,255,0.06); transform: scale(1.002); }
  100% { background: rgba(0,0,0,0);        transform: scale(1); }
}

/* Badge pulse — coloured glow in top-right of row */
.civ-badge-pulse {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 56px;
  height: 22px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
}
.civ-row-tap[data-badge="green"] .civ-badge-pulse {
  background: radial-gradient(ellipse, rgba(34,197,94,0.55) 0%, transparent 70%);
}
.civ-row-tap[data-badge="amber"] .civ-badge-pulse {
  background: radial-gradient(ellipse, rgba(245,158,11,0.55) 0%, transparent 70%);
}
.civ-row-tap[data-badge="red"] .civ-badge-pulse {
  background: radial-gradient(ellipse, rgba(239,68,68,0.55) 0%, transparent 70%);
}
.civ-badge-pulse.pulsing {
  animation: badgePulse 0.7s ease forwards;
}
@keyframes badgePulse {
  0%   { opacity: 0; transform: translateY(-50%) scale(0.6); }
  35%  { opacity: 1; transform: translateY(-50%) scale(1.15); }
  70%  { opacity: 0.6; transform: translateY(-50%) scale(1); }
  100% { opacity: 0; transform: translateY(-50%) scale(0.8); }
}

/* ══ PHONE ANIMATION — final definitive block ═══════════════════════ */

/* Kill finger and old tilt */
.civ-finger { display: none !important; }
.civ-phone-wrap {
  transform: none !important;
  transform-style: flat !important;
}

/* Animation layer — clipped strictly to the phone screen area.
   The PNG phone image includes a bezel; the actual screen starts
   at roughly 7% from each side and 7% from top, 10% from bottom. */
.civ-anim-layer {
  position: absolute !important;
  top: 7% !important;
  left: 7% !important;
  right: 7% !important;
  bottom: 10% !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Row overlays — positioned within the screen-area container */
.civ-row-tap {
  position: absolute !important;
  left: 1% !important;
  right: 1% !important;
  border-radius: 12px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease !important;
  z-index: 1 !important;
}

/* Active row: blue outline + tint — clearly visible inside phone */
.civ-row-tap.row-active {
  background: rgba(0, 0, 204, 0.10) !important;
  outline: 2px solid rgba(0, 0, 204, 0.55) !important;
  outline-offset: -2px !important;
  box-shadow: 0 0 0 4px rgba(0, 0, 204, 0.08) !important;
  z-index: 10 !important;
}

/* Badge glow colours */
.civ-row-tap[data-badge="green"]  .civ-badge-pulse { background: radial-gradient(ellipse, rgba(34,197,94,0.75) 0%, transparent 68%); }
.civ-row-tap[data-badge="amber"]  .civ-badge-pulse { background: radial-gradient(ellipse, rgba(245,158,11,0.75) 0%, transparent 68%); }
.civ-row-tap[data-badge="red"]    .civ-badge-pulse { background: radial-gradient(ellipse, rgba(239,68,68,0.75) 0%, transparent 68%); }

/* Badge pulse animation */
.civ-badge-pulse.pulsing {
  animation: badgePulse 0.9s ease forwards !important;
}
@keyframes badgePulse {
  0%   { opacity: 0;   transform: translateY(-50%) scale(0.5); }
  30%  { opacity: 1;   transform: translateY(-50%) scale(1.2); }
  65%  { opacity: 0.7; transform: translateY(-50%) scale(1.0); }
  100% { opacity: 0;   transform: translateY(-50%) scale(0.8); }
}

/* ══ PHONE SIZE + SPACING FINAL ═════════════════════════════════════ */
.civ-phone-img {
  max-width: 520px !important;
}
.civ-image-col {
  flex: 0 1 540px !important;
}
.plat-ui-mock--left,
.plat-ui-mock--right {
  flex: 0 1 540px !important;
}
.civ-image-grid {
  gap: 16px !important;
}
.plat-interface-grid {
  gap: 16px !important;
}
@media (max-width: 1024px) {
  .civ-phone-img { max-width: 400px !important; }
}
@media (max-width: 768px) {
  .civ-phone-img { max-width: 340px !important; }
  .civ-image-grid, .plat-interface-grid { gap: 12px !important; }
}
@media (max-width: 480px) {
  .civ-phone-img { max-width: 290px !important; }
}

/* ══ PHONE IMAGES — NO SHADOW, IDENTICAL ════════════════════════════ */
.civ-phone-wrap .civ-phone-img,
.civ-phone-wrap:hover .civ-phone-img {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
  transition: none !important;
  cursor: default !important;
}
.civ-phone-img {
  filter: none !important;
  box-shadow: none !important;
}

/* ══ EQUAL PHONE SIZES ═══════════════════════════════════════════════ */
.civ-image-grid {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 16px !important;
}
.civ-image-col {
  flex: 0 0 calc(50% - 8px) !important;
  max-width: 500px !important;
  width: calc(50% - 8px) !important;
}
.civ-phone-wrap {
  width: 100% !important;
  max-width: 100% !important;
}
.civ-phone-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
@media (max-width: 700px) {
  .civ-image-grid { flex-direction: column !important; align-items: center !important; }
  .civ-image-col { flex: 0 0 auto !important; width: 85% !important; max-width: 360px !important; }
}

/* ══ PHONE VISUALS SECTION (pv-) ════════════════════════════════════ */
.pv-section {
  padding: 96px 32px;
  background: #ffffff;
}
.pv-section--plat {
  padding: 80px 32px;
}
.pv-container {
  max-width: 1060px;
  margin: 0 auto;
}

/* Header */
.pv-header {
  text-align: center;
  margin-bottom: 64px;
}
.pv-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0000cc;
  margin: 0 0 16px;
}
.pv-headline {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 18px;
  line-height: 1.2;
}
.pv-subtext {
  font-size: 17px;
  color: #475569;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Grid */
.pv-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
}

/* Each visual */
.pv-visual {
  flex: 0 0 calc(50% - 16px);
  max-width: 460px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Image wrapper — no shadow, no border, clean */
.pv-img-wrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pv-visual:hover .pv-img-wrap {
  transform: scale(1.01);
}
.pv-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  border: none !important;
  background: transparent !important;
}

/* Label */
.pv-label {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

/* Lightbox modal */
.pv-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.pv-modal.is-open {
  display: flex;
}
.pv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.80);
}
.pv-modal-content {
  position: relative;
  z-index: 1;
  max-width: min(480px, 92vw);
  width: 100%;
}
.pv-modal-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.pv-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pv-modal-close:hover {
  background: rgba(255,255,255,0.22);
}

/* Mobile */
@media (max-width: 700px) {
  .pv-section { padding: 64px 20px; }
  .pv-header { margin-bottom: 44px; }
  .pv-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 40px !important;
  }
  .pv-visual {
    flex: 0 0 auto !important;
    width: 88% !important;
    max-width: 360px !important;
  }
}

/* ══ PV SECTION FINAL — same height, smaller, clean ═════════════════ */

/* Force both columns to identical width */
.pv-grid {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 28px !important;
}
.pv-visual {
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 340px !important;
  min-width: 0 !important;
}

/* Image wrapper: lock aspect ratio so both are pixel-identical height */
.pv-img-wrap {
  width: 100% !important;
  aspect-ratio: 700 / 1380 !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.pv-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  border: none !important;
  background: transparent !important;
}

/* Override all prior civ-phone-img rules that may interfere */
.pv-visual .civ-phone-img,
.pv-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  max-width: none !important;
}

@media (max-width: 780px) {
  .pv-visual {
    flex: 0 0 88vw !important;
    width: 88vw !important;
    max-width: 340px !important;
  }
  .pv-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 36px !important;
  }
}

/* ══ PRICING PAGE (pr-) ══════════════════════════════════════════════ */
.pr-page {
  min-height: 100vh;
  background: #ffffff;
}
.pr-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.pr-header-section {
  padding: 80px 0 48px;
  text-align: center;
}
.pr-main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.pr-main-sub {
  font-size: 18px;
  color: #475569;
  margin: 0;
}

/* Board */
.pr-board-section {
  padding: 0 0 80px;
}
.pr-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Card base */
.pr-card {
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Active card */
.pr-card--active {
  border-color: #0000cc;
  background: #ffffff;
}
.pr-card-highlight {
  background: #0000cc;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  letter-spacing: 0.01em;
}
.pr-card-body {
  padding: 28px 24px;
  flex: 1;
}
.pr-card-name {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
}
.pr-card-tagline {
  font-size: 14px;
  color: #475569;
  margin: 0 0 24px;
  line-height: 1.55;
}
.pr-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pr-feature-item {
  font-size: 14px;
  color: #0F172A;
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.pr-feature-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0000cc;
}
.pr-card-footer {
  padding: 24px 24px 28px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pr-cta-btn {
  width: 100%;
  background: #0000cc;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.pr-cta-btn:hover {
  background: #0000aa;
}
.pr-card-note {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
  text-align: center;
}

/* Inactive cards */
.pr-card--inactive {
  background: #F8FAFC;
  border-color: #E2E8F0;
  opacity: 0.72;
}
.pr-card--inactive .pr-card-body {
  padding: 28px 24px;
  flex: 1;
}
.pr-card-launch-label {
  background: #F1F5F9;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 12px 16px;
  border-bottom: 1px solid #E2E8F0;
}
.pr-card--inactive .pr-card-name {
  font-size: 22px;
  font-weight: 700;
  color: #94A3B8;
  margin: 0;
}

/* How Access Works */
.pr-how-section {
  padding: 64px 0 96px;
  border-top: 1px solid #E2E8F0;
}
.pr-how-title {
  font-size: 28px;
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  margin: 0 0 48px;
}
.pr-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 840px;
  margin: 0 auto;
}
.pr-how-step {
  text-align: center;
}
.pr-how-num {
  font-size: 32px;
  font-weight: 800;
  color: #0000cc;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.pr-how-label {
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
  margin: 0 0 10px;
}
.pr-how-desc {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .pr-board {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .pr-board {
    grid-template-columns: 1fr;
  }
  .pr-how-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pr-container { padding: 0 20px; }
  .pr-header-section { padding: 56px 0 36px; }
}

/* ══ HERO iPHONE (hi-) ══════════════════════════════════════════════ */
.hi-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.hi-phone {
  position: relative;
  width: 290px;
  aspect-ratio: 393 / 852;
  background: linear-gradient(160deg, #2a2a2a 0%, #111 60%, #1e1e1e 100%);
  border-radius: 48px;
  box-shadow:
    inset 0 0 0 1.5px #444,
    inset 0 0 0 3px #1a1a1a,
    0 2px 8px rgba(0,0,0,0.18);
  padding: 14px;
  box-sizing: border-box;
}
/* Side buttons */
.hi-btn-vol-up,
.hi-btn-vol-dn,
.hi-btn-power {
  position: absolute;
  background: #2e2e2e;
  border-radius: 2px;
}
.hi-btn-vol-up {
  left: -4px;
  top: 22%;
  width: 4px;
  height: 7%;
  border-radius: 2px 0 0 2px;
}
.hi-btn-vol-dn {
  left: -4px;
  top: 31%;
  width: 4px;
  height: 7%;
  border-radius: 2px 0 0 2px;
}
.hi-btn-power {
  right: -4px;
  top: 26%;
  width: 4px;
  height: 11%;
  border-radius: 0 2px 2px 0;
}
/* Screen */
.hi-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  position: relative;
}
/* Dynamic island */
.hi-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 9.5px;
  background: #000;
  border-radius: 999px;
  z-index: 20;
  pointer-events: none;
}
/* Screen images */
.hi-screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.4s ease;
  opacity: 1;
}
.hi-screen-img--hidden {
  opacity: 0;
}
/* Scan bar */
.hi-scan-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #0000cc 20%, #4466ff 50%, #0000cc 80%, transparent 100%);
  box-shadow: 0 0 10px 2px rgba(0,0,204,0.45);
  opacity: 0;
  top: 0;
  z-index: 15;
  pointer-events: none;
}
/* Home bar */
.hi-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 4px;
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
  z-index: 20;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
  .hi-phone { width: 240px; }
}
@media (max-width: 600px) {
  .hi-phone { width: 200px; border-radius: 36px; }
  .hi-screen { border-radius: 26px; }
}

/* ── Hero iPhone responsive fix ───────────────────────── */
div.hero-right {
  justify-content: center !important;
  align-items: center !important;
}
.hi-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hi-phone {
  width: clamp(200px, 30vw, 300px);
}
@media (max-width: 1024px) {
  .hi-phone { width: clamp(180px, 28vw, 260px); }
}
@media (max-width: 600px) {
  .hi-phone { width: clamp(160px, 60vw, 240px); border-radius: 36px; }
  .hi-screen { border-radius: 26px; }
}

/* ── Hero iPhone screen images — updated asset treatment ── */
.hi-screen-img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff;
}

/* ── Hero iPhone — single large phone ─────────────────── */
.hi-phone {
  width: clamp(260px, 36vw, 400px) !important;
}
.hi-wrap {
  padding: 24px 0;
}
/* Hero needs more height to display the larger phone */
.hero.hero-cinematic,
.hero-cinematic {
  min-height: 90vh !important;
}
.hero-bottom-split {
  align-items: center !important;
  min-height: 80vh !important;
}
div.hero-right {
  align-items: center !important;
  padding: 32px 0 !important;
}
@media (max-width: 1024px) {
  .hi-phone { width: clamp(220px, 34vw, 340px) !important; }
}
@media (max-width: 600px) {
  .hi-phone { width: clamp(220px, 72vw, 300px) !important; border-radius: 36px !important; }
}

/* ── Hero iPhone — prevent vertical clipping ── */
.hi-phone {
  max-height: calc(100vh - 120px) !important;
  width: auto !important;
  /* let aspect-ratio + max-height control width */
  max-width: clamp(260px, 36vw, 400px) !important;
}
.hero-right {
  overflow: visible !important;
}

/* ── Hero iPhone — definitive sizing (overrides all above) ── */
.hi-phone {
  width: clamp(240px, 28vw, 300px) !important;
  max-height: none !important;
  max-width: none !important;
}

/* ── Hero — frameless phone visual (single image, no outer bezel) ── */
.hi-frame {
  position: relative;
  width: clamp(260px, 38vw, 440px);
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.hi-frame .hi-screen-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.4s ease;
  position: relative;
  top: auto; left: auto;
  background: transparent;
}
.hi-frame .hi-screen-img--hidden {
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hi-frame .hi-scan-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #0000cc 40%, #4466ff 50%, #0000cc 60%, transparent 100%);
  box-shadow: 0 0 12px 4px rgba(0,0,204,0.5);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}
.hi-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
@media (max-width: 1024px) {
  .hi-frame { width: clamp(220px, 42vw, 380px); }
}
@media (max-width: 600px) {
  .hi-frame { width: clamp(200px, 78vw, 320px); }
}

/* ── hi-frame width correction ── */
.hi-frame {
  width: clamp(220px, 32vw, 360px) !important;
  overflow: visible !important;
}

/* ── hi-frame — clip scan bar to image bounds ── */
.hi-frame {
  overflow: hidden !important;
  border-radius: 0 !important;
}

/* ═══════════════════════════════════════════════════
   POLICY DASHBOARD  (pdash-* classes)
   ═══════════════════════════════════════════════════ */

/* ── summary stat bar ── */
.pdash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.pdash-stat {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pdash-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1;
}
.pdash-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pdash-stat-accent { border-top: 3px solid #0000cc; }
.pdash-stat-green  { border-top: 3px solid #16a34a; }
.pdash-stat-amber  { border-top: 3px solid #d97706; }
.pdash-stat-slate  { border-top: 3px solid #64748B; }

/* ── filter pills ── */
.pdash-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pdash-pill {
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.pdash-pill:hover  { border-color: #0000cc; color: #0000cc; }
.pdash-pill.active { background: #0000cc; border-color: #0000cc; color: #fff; }

/* ── card grid ── */
.pdash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .pdash-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .pdash-grid { grid-template-columns: 1fr; } }

/* ── individual card ── */
.pdash-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  overflow: hidden;
}
.pdash-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,204,0.10);
  transform: translateY(-2px);
}
.pdash-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #F1F5F9;
}
.pdash-line-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EEF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0000cc;
}
.pdash-line-icon svg { display: block; }
.pdash-line-label {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  flex: 1;
}
.pdash-status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.pdash-status-active   { background: #dcfce7; color: #15803d; }
.pdash-status-expiring { background: #fef3c7; color: #b45309; }
.pdash-status-inactive { background: #f1f5f9; color: #64748b; }
.pdash-status-pending  { background: #e0e7ff; color: #4338ca; }

.pdash-card-body {
  padding: 14px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pdash-insured {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdash-carrier {
  font-size: 13px;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdash-policy-num {
  font-size: 12px;
  color: #94A3B8;
  font-family: monospace;
}
.pdash-divider {
  border: none;
  border-top: 1px solid #F1F5F9;
  margin: 6px 0;
}
.pdash-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748B;
}
.pdash-meta-row span:last-child { font-weight: 600; color: #0F172A; }
.pdash-expiry-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}
.pdash-expiry-ok      { background: #16a34a; }
.pdash-expiry-soon    { background: #d97706; }
.pdash-expiry-expired { background: #dc2626; }

.pdash-card-footer {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid #F1F5F9;
}
.pdash-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.pdash-btn-primary {
  background: #0000cc;
  color: #fff;
}
.pdash-btn-primary:hover { background: #0000aa; }
.pdash-btn-outline {
  background: #F8FAFC;
  color: #0000cc;
  border: 1.5px solid #E2E8F0;
}
.pdash-btn-outline:hover { border-color: #0000cc; background: #EEF2FF; }

/* ── ai/verify chips on card ── */
.pdash-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pdash-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
}
.pdash-chip-ok      { background: #dcfce7; color: #15803d; }
.pdash-chip-pending { background: #f1f5f9; color: #64748b; }

/* ── empty state ── */
.pdash-empty {
  text-align: center;
  padding: 48px 24px;
  color: #64748B;
  background: #F8FAFC;
  border: 2px dashed #E2E8F0;
  border-radius: 16px;
}
.pdash-empty-icon { margin-bottom: 16px; color: #CBD5E1; }
.pdash-empty h4 { color: #0F172A; margin: 0 0 8px; font-size: 16px; }
.pdash-empty p  { margin: 0 0 20px; font-size: 14px; }

/* ── policy detail modal / drawer ── */
.pdash-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pdash-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.pdash-modal-drawer {
  width: min(620px, 96vw);
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 48px rgba(0,0,0,0.15);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.pdash-modal-overlay.open .pdash-modal-drawer {
  transform: translateX(0);
}
.pdash-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #E2E8F0;
  background: #fff;
  flex-shrink: 0;
  min-height: 0;
}
.pdash-modal-close {
  margin-left: auto;
  background: #F1F5F9;
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  flex-shrink: 0;
}
.pdash-modal-close:hover { background: #E2E8F0; }
.pdash-modal-body { flex: 1; overflow: hidden; padding: 0; }

@media (max-width: 640px) {
  .pdash-stats { grid-template-columns: repeat(2, 1fr); }
  .pdash-modal-drawer { width: 100vw; }
}

/* ── Policy Management header — white background, dark text ── */
.pm-hub-header,
.pm-hub-header h1,
.pm-hub-header h2,
.pm-hub-header h3,
.pm-hub-header h4,
.pm-hub-header p,
.pm-hub-header span,
.pm-hub-title,
.pm-hub-subtitle {
  color: #0F172A !important;
}
.pm-hub-subtitle,
.pm-hub-header p {
  color: #64748B !important;
}

/* ── White text on blue: renewal countdown timer ── */
.renewal-countdown,
.renewal-countdown h1,
.renewal-countdown h2,
.renewal-countdown h3,
.renewal-countdown h4,
.renewal-countdown p,
.renewal-countdown span,
.renewal-countdown div,
.card-countdown,
.card-countdown span,
.card-countdown div,
.cd-label,
.cd-val,
.cd-msg {
  color: #fff !important;
}

/* ══════════════════════════════════════════════════════
   POLICY TABLE  (replaces card grid)
   ══════════════════════════════════════════════════════ */
.pdash-table-wrap {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  overflow-x: auto;
}
.pdash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pdash-th {
  text-align: left;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  white-space: nowrap;
}
.pdash-th-sort {
  cursor: pointer;
  user-select: none;
}
.pdash-th-sort:hover { color: #0000cc; }
.pdash-sort-icon {
  display: inline-block;
  margin-left: 3px;
  font-size: 11px;
  opacity: 0.35;
}
.pdash-sort-active {
  opacity: 1;
  color: #0000cc;
}
.pdash-tr {
  cursor: pointer;
  transition: background 0.1s ease;
}
.pdash-tr:not(:last-child) td {
  border-bottom: 1px solid #F1F5F9;
}
.pdash-tr:hover td {
  background: #F5F7FF;
}
.pdash-td {
  padding: 13px 16px;
  color: #475569;
  vertical-align: middle;
  white-space: nowrap;
}
.pdash-td-primary {
  font-weight: 600;
  color: #0F172A;
}
.pdash-td-mono {
  font-family: monospace;
  font-size: 12px;
  color: #94A3B8;
}
.pdash-td-expiry {
  white-space: nowrap;
}
.pdash-td-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdash-td-line-label {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  display: block;
}
.pdash-td-sub {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 1px;
}
.pdash-td-actions {
  padding-right: 20px;
}
.pdash-action-btn {
  background: #0000cc;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.pdash-action-btn:hover { background: #0000aa; }

@media (max-width: 900px) {
  .pdash-table-wrap { border-radius: 10px; }
  .pdash-th, .pdash-td { padding: 10px 12px; }
}
@media (max-width: 600px) {
  .pdash-table { min-width: 700px; }
}

/* ── Policy Management: full-width policyList wrapper ── */
#pmSection-mypolicies > .form-container,
#pmSection-mypolicies > .form-container.form-wide,
#pmSection-verification > .form-container,
#pmSection-verification > .form-container.form-wide,
#pmSection-claimpreparat > .form-container,
#pmSection-claimpreparat > .form-container.form-wide {
  max-width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
}

/* ══════════════════════════════════════════════════════
   POLICY DETAIL PANEL  (pdm-* classes — drawer content)
   ══════════════════════════════════════════════════════ */
.pdm-panel {
  display: flex; flex-direction: column; gap: 0;
  height: 100%; overflow: hidden;
}

/* compact drawer countdown */
.pdm-countdown {
  flex-shrink: 0;
  padding: 10px 16px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.pdm-cd-label {
  font-size: 9px; font-weight: 700; letter-spacing: 3px;
  color: rgba(255,255,255,0.8); text-transform: uppercase;
}
.pdm-cd-digits {
  display: flex; align-items: center; gap: 4px;
}
.pdm-cd-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pdm-cd-val {
  font-size: 22px; font-weight: 800; color: #fff; font-family: monospace;
  background: rgba(255,255,255,0.15); border-radius: 5px;
  padding: 3px 7px; min-width: 36px; text-align: center; line-height: 1;
  display: block;
}
.pdm-cd-unit { font-size: 8px; color: rgba(255,255,255,0.65); font-weight: 600; letter-spacing: 0.5px; }
.pdm-cd-sep  { font-size: 18px; color: rgba(255,255,255,0.35); font-weight: 300; margin-bottom: 8px; }

/* QR section: fills remaining space */
.pdm-qr-section {
  flex: 1; min-height: 0;
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #F1F5F9;
  text-align: center;
  gap: 8px;
}

/* branding strip above QR */
.pdm-qr-brand {
  display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.pdm-qr-brand-logo  { width: 20px; height: 20px; object-fit: contain; }
.pdm-qr-brand-name  { font-size: 11px; font-weight: 800; color: #0000cc; letter-spacing: 0.05em; }

/* QR image: fills the flex space, never overflows */
.pdm-qr-big {
  flex: 1; min-height: 0;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  object-fit: contain;
  display: block;
}
.pdm-qr-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: #94A3B8; flex-shrink: 0;
}
.pdm-qr-pending {
  gap: 8px;
}
.pdm-qr-pending-text {
  font-size: 13px; color: #94A3B8;
}

/* hero */
.pdm-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
}
.pdm-hero-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: #EEF2FF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #0000cc;
}
.pdm-hero-icon svg { width: 24px; height: 24px; }
.pdm-hero-info { flex: 1; min-width: 0; }
.pdm-hero-line {
  font-size: 16px; font-weight: 700; color: #0F172A; margin-bottom: 2px;
}
.pdm-hero-carrier { font-size: 13px; color: #64748B; }

/* sections */
.pdm-section {
  padding: 20px 24px;
  border-bottom: 1px solid #F1F5F9;
}
.pdm-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: #94A3B8; margin-bottom: 14px;
}

/* facts grid */
.pdm-facts { display: flex; flex-direction: column; gap: 10px; }
.pdm-fact {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 12px;
}
.pdm-fact-label {
  font-size: 13px; color: #64748B; flex-shrink: 0;
}
.pdm-fact-val {
  font-size: 13px; font-weight: 600; color: #0F172A;
  text-align: right; word-break: break-word;
}
.pdm-mono { font-family: monospace; font-size: 12px; color: #475569; }

/* verification block */
.pdm-verify-row {
  display: flex; gap: 16px; align-items: flex-start;
}
.pdm-qr {
  width: 88px; height: 88px; border-radius: 10px;
  border: 1px solid #E2E8F0; flex-shrink: 0;
}
.pdm-verify-details { flex: 1; min-width: 0; }
.pdm-verify-status-row {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.pdm-verify-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #16a34a;
  display: inline-block; flex-shrink: 0;
}
.pdm-verify-ready { font-size: 13px; font-weight: 600; color: #15803d; }
.pdm-link-wrap {
  display: flex; align-items: center; gap: 8px;
  background: #F8FAFC; border: 1px solid #E2E8F0;
  border-radius: 8px; padding: 6px 10px; margin-bottom: 10px;
}
.pdm-link-text {
  font-size: 11px; color: #64748B; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pdm-copy-btn {
  font-size: 11px; font-weight: 600; color: #0000cc;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
  padding: 0;
}
.pdm-copy-btn:hover { text-decoration: underline; }
.pdm-share-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pdm-share-pill {
  font-size: 11px; font-weight: 600; padding: 4px 11px;
  border-radius: 99px; border: 1.5px solid #E2E8F0;
  color: #475569; text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.pdm-share-pill:hover { border-color: #0000cc; color: #0000cc; }

.pdm-pending-note {
  font-size: 13px; color: #94A3B8; font-style: italic;
}

/* action buttons */
.pdm-actions {
  display: flex; flex-direction: row; gap: 8px;
  padding: 10px 20px;
}
.pdm-btn {
  flex: 1; padding: 9px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: none; transition: all 0.15s ease; text-align: center;
}
.pdm-btn-primary { background: #0000cc; color: #fff; }
.pdm-btn-primary:hover { background: #0000aa; }
.pdm-btn-outline {
  background: #fff; color: #0000cc;
  border: 1.5px solid #0000cc;
}
.pdm-btn-outline:hover { background: #EEF2FF; }
.pdm-btn-ghost {
  background: #F1F5F9; color: #94A3B8; cursor: not-allowed;
}

/* ── Drawer: identity block (avatar + name) ── */
.pdm-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #F1F5F9;
}
.pdm-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0000cc 0%, #4d4dff 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.pdm-identity-name {
  font-size: 16px; font-weight: 700; color: #0F172A;
  margin-bottom: 3px;
}
.pdm-identity-line {
  font-size: 12px; color: #64748B;
}

/* ── Drawer: countdown wrapper ── */
.pdm-countdown-wrap {
  padding: 10px 20px 0;
}

/* ── Drawer: QR section — defined above in pdm-panel block ── */

/* ── Drawer: Also Protected signal banner ── */
.pdm-ap-signal {
  margin: 8px 16px 0;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border: 1px solid #C7D2FE;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer;
}
.pdm-ap-signal:hover { border-color: #0000cc; }
.pdm-ap-signal-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: #0000cc; color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.pdm-ap-signal-icon::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px;
  width: 8px; height: 8px;
  background: #ef4444; border-radius: 50%;
  border: 1.5px solid #fff;
  animation: ap-ping 1.4s ease-in-out infinite;
}
@keyframes ap-ping {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}
.pdm-ap-signal-text strong {
  font-size: 12px; font-weight: 700; color: #0000cc; display: block; margin-bottom: 1px;
}
.pdm-ap-signal-text span {
  font-size: 11px; color: #475569; line-height: 1.3;
}

/* ═══════════════════════════════════════════════
   ALSO PROTECTED — Section 7 in Policy Summary
   ═══════════════════════════════════════════════ */

/* blue dot indicator on the RIGHT side of header when people exist */
.ap-right-signal {
  display: inline-block;
  width: 9px; height: 9px;
  background: #0000cc;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 4px;
  animation: ap-ping 1.6s ease-in-out infinite;
}

/* loading state */
.ap-loading {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 0; color: #94A3B8; font-size: 13px;
}
.ap-loading-spinner {
  width: 18px; height: 18px;
  border: 2px solid #E2E8F0;
  border-top-color: #0000cc;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* hero strip inside expanded card */
.ap-hero-strip {
  display: flex; align-items: flex-start; gap: 12px;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border: 1px solid #C7D2FE;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  color: #0000cc;
}
.ap-hero-strip strong {
  font-size: 13px; font-weight: 700; display: block; margin-bottom: 4px;
}
.ap-hero-strip p {
  font-size: 12px; color: #475569; margin: 0; line-height: 1.4;
}

/* people list */
.ap-people-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.ap-person-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: #FAFAFA;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  transition: border-color 0.15s;
}
.ap-person-row:hover { border-color: #C7D2FE; }

.ap-person-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #0000cc, #4d4dff);
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: 0.02em;
}

.ap-person-info { flex: 1; min-width: 0; }
.ap-person-name { font-size: 14px; font-weight: 600; color: #0F172A; }
.ap-person-role {
  font-size: 11px; font-weight: 600;
  color: #0000cc; background: #EEF2FF;
  border-radius: 4px; padding: 1px 6px;
  display: inline-block; margin-top: 2px;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.ap-person-action { flex-shrink: 0; }

.ap-invite-btn {
  display: flex; align-items: center; gap: 6px;
  background: #0000cc; color: #fff;
  border: none; border-radius: 8px;
  padding: 7px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
  white-space: nowrap;
}
.ap-invite-btn:hover { background: #0000aa; }
.ap-invite-btn:disabled { background: #94A3B8; cursor: not-allowed; }

.ap-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600;
  border-radius: 6px; padding: 5px 10px;
}
.ap-status-linked { background: #DCFCE7; color: #15803d; }
.ap-status-invited { background: #FEF9C3; color: #92400E; }

/* empty state */
.ap-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
  padding: 24px 16px; color: #94A3B8;
}
.ap-empty p { margin: 0; font-size: 13px; color: #64748B; }
.ap-empty-sub { font-size: 12px !important; color: #94A3B8 !important; }

/* footer note */
.ap-footer-note {
  font-size: 11px; color: #94A3B8; text-align: center;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

/* ═══════════════════════════════════════════════════════════
   NAV — LOGGED-IN EXTRAS (language + dark mode toggle)
   ═══════════════════════════════════════════════════════════ */
.nav-logged-in-extras {
  display: none;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
}
.nav-lang-selector-inline {
  display: flex;
  align-items: center;
}
.nav-lang-selector-inline .lang-select {
  background: transparent !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  color: #0F172A !important;
  font-size: 13px !important;
  padding: 6px 8px !important;
  height: 36px !important;
  cursor: pointer !important;
  outline: none !important;
}
/* Dark mode toggle button */
.nav-dark-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  flex-shrink: 0;
}
.nav-dark-toggle:hover {
  background: #F1F5F9;
  color: #0000cc;
  border-color: #0000cc;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE THEME  (body.dark-mode)
   ═══════════════════════════════════════════════════════════ */
body.dark-mode {
  --ds-bg: #0F172A;
  --ds-bg-2: #1E293B;
  --ds-text: #F1F5F9;
  --ds-text-sec: #CBD5E1;
  --ds-border: #334155;
  background: #0F172A !important;
  color: #F1F5F9 !important;
}
body.dark-mode #navbar,
body.dark-mode .nav-inner {
  background: #0F172A !important;
  border-bottom-color: #334155 !important;
}
body.dark-mode .nav-center a { color: #CBD5E1 !important; }
body.dark-mode .nav-center a:hover { color: #818cf8 !important; }
body.dark-mode .nav-auth-link { color: #CBD5E1 !important; }
body.dark-mode .nav-brand-name,
body.dark-mode #navbar .nav-brand .nav-brand-name { color: #818cf8 !important; }
body.dark-mode .nav-dark-toggle {
  border-color: #334155 !important;
  color: #F1F5F9 !important;
  background: #1E293B !important;
}
body.dark-mode .nav-dark-toggle:hover {
  background: #334155 !important;
  color: #818cf8 !important;
  border-color: #818cf8 !important;
}
body.dark-mode .nav-lang-selector-inline .lang-select {
  border-color: #334155 !important;
  color: #F1F5F9 !important;
  background: #1E293B !important;
}
body.dark-mode .nav-ai-btn {
  background: #3730a3 !important;
  color: #e0e7ff !important;
  border-color: #4338ca !important;
}
body.dark-mode .s-card,
body.dark-mode .pdash-card,
body.dark-mode .pdash-table-wrap,
body.dark-mode .st-box,
body.dark-mode .ds-cta-section {
  background: #1E293B !important;
  border-color: #334155 !important;
}
body.dark-mode .pdash-table th { background: #0F172A !important; color: #94A3B8 !important; border-color: #334155 !important; }
body.dark-mode .pdash-tr { border-color: #334155 !important; }
body.dark-mode .pdash-tr:hover { background: #1E293B !important; }
body.dark-mode .pdash-td-line-label,
body.dark-mode .pdash-table td { color: #F1F5F9 !important; }
body.dark-mode .pdash-td-sub { color: #94A3B8 !important; }
body.dark-mode h1,body.dark-mode h2,body.dark-mode h3,body.dark-mode h4 { color: #F1F5F9 !important; }
body.dark-mode p,body.dark-mode span { color: #CBD5E1; }
body.dark-mode .user-dropdown {
  background: #1E293B !important;
  border-color: #334155 !important;
}
body.dark-mode .user-dropdown a { color: #CBD5E1 !important; border-color: #334155 !important; }
body.dark-mode .user-dropdown a:hover { background: #334155 !important; color: #F1F5F9 !important; }
body.dark-mode .nav-user-link { color: #CBD5E1 !important; }
body.dark-mode footer,
body.dark-mode .site-footer { background: #020617 !important; }
body.dark-mode .pdash-top-bar { background: #1E293B !important; border-color: #334155 !important; }
body.dark-mode .pdash-stat-card { background: #1E293B !important; border-color: #334155 !important; }
body.dark-mode .pdash-stat-val { color: #F1F5F9 !important; }
body.dark-mode .pdash-stat-label { color: #94A3B8 !important; }
body.dark-mode .ds-cta-title { color: #F1F5F9 !important; }
body.dark-mode .ds-cta-subtitle { color: #CBD5E1 !important; }
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background: #1E293B !important;
  color: #F1F5F9 !important;
  border-color: #334155 !important;
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder { color: #64748B !important; }

/* ═══════════════════════════════════════════════════════════
   CTA SECTION — SEPARATOR ABOVE "TAKE CONTROL"
   ═══════════════════════════════════════════════════════════ */
.ds-cta-section {
  margin-top: 80px !important;
  border-top: 1px solid #E2E8F0;
}
body.dark-mode .ds-cta-section {
  border-top-color: #334155 !important;
  background: #0F172A !important;
}

/* ═══════════════════════════════════════════════════════════
   SPLIT-PANEL POLICY DASHBOARD  (spd-*)
   ═══════════════════════════════════════════════════════════ */

/* ─── Stats strip ─── */
.spd-stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 28px;
  margin-bottom: 16px;
}
.spd-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 2px;
}
.spd-stat-sep {
  width: 1px;
  height: 36px;
  background: #E2E8F0;
  flex-shrink: 0;
}
.spd-stat-num {
  font-size: 26px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1;
}
.spd-stat-num--sm { font-size: 14px; padding-top: 4px; }
.spd-stat-lbl {
  font-size: 11px;
  font-weight: 500;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.spd-stat-item--green .spd-stat-num { color: #16a34a; }
.spd-stat-item--amber .spd-stat-num  { color: #d97706; }
.spd-stat-item--slate .spd-stat-num  { color: #0000cc; }

/* ─── Body: two columns ─── */
.spd-body {
  display: flex;
  gap: 0;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  min-height: 620px;
  background: #fff;
}

/* ─── Left panel ─── */
.spd-left {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #E2E8F0;
  background: #F8FAFC;
}
.spd-left-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid #E2E8F0;
  background: #fff;
  flex-shrink: 0;
}

/* search */
.spd-search-wrap {
  position: relative;
  margin-bottom: 10px;
}
.spd-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  pointer-events: none;
}
.spd-search-input {
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 13px;
  color: #0F172A;
  background: #F8FAFC;
  outline: none;
  transition: border-color 0.18s;
}
.spd-search-input:focus { border-color: #0000cc; background: #fff; }

/* filter pills */
.spd-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spd-pill {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.spd-pill:hover { border-color: #0000cc; color: #0000cc; }
.spd-pill.active { background: #0000cc; border-color: #0000cc; color: #fff; }

/* scrollable list */
.spd-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.spd-list-empty {
  padding: 32px 20px;
  text-align: center;
  color: #94A3B8;
  font-size: 13px;
}

/* ─── Policy card (left) ─── */
.spd-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background 0.14s;
  position: relative;
}
.spd-card:last-child { border-bottom: none; }
.spd-card:hover { background: #EFF6FF; }
.spd-card--selected {
  background: #EFF6FF !important;
  border-left: 3px solid #0000cc;
  padding-left: 13px;
}
.spd-card-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0000cc;
  flex-shrink: 0;
}
.spd-card-body { flex: 1; min-width: 0; }
.spd-card-top {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}
.spd-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spd-card-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #0000cc;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}
.spd-card-sub {
  font-size: 12px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.spd-card-foot {
  display: flex;
  align-items: center;
  gap: 5px;
}
.spd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.spd-dot--green  { background: #22c55e; }
.spd-dot--amber  { background: #f59e0b; }
.spd-dot--grey   { background: #94A3B8; }
.spd-dot--red    { background: #ef4444; }
.spd-dot--red + .spd-card-status-lbl { color: #ef4444 !important; }
.spd-card-status-lbl {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}
.spd-card-exp {
  font-size: 11px;
  color: #94A3B8;
}
.spd-card-chevron {
  color: #CBD5E1;
  flex-shrink: 0;
  transition: color 0.14s;
}
.spd-card:hover .spd-card-chevron,
.spd-card--selected .spd-card-chevron { color: #0000cc; }

/* ─── Right panel ─── */
.spd-right {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.spd-right-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
}
.spd-right-empty-title {
  font-size: 16px;
  font-weight: 600;
  color: #475569;
  margin: 0;
}
.spd-right-empty-sub {
  font-size: 13px;
  color: #94A3B8;
  max-width: 280px;
  margin: 0;
  line-height: 1.6;
}

/* ─── Detail view ─── */
.spd-detail {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* header */
.spd-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}
.spd-detail-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0000cc, #3b3bff);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.spd-detail-header-info { flex: 1; min-width: 0; }
.spd-detail-name {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spd-detail-sub {
  font-size: 13px;
  color: #64748B;
  margin-top: 2px;
}
.spd-detail-status { margin-left: auto; flex-shrink: 0; }

/* field grid */
.spd-detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.spd-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: #F8FAFC;
  border-radius: 10px;
  border: 1px solid #F1F5F9;
}
.spd-field--full { grid-column: 1 / -1; }
.spd-field-lbl {
  font-size: 10px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.spd-field-val {
  font-size: 13px;
  font-weight: 500;
  color: #0F172A;
  word-break: break-word;
}

/* countdown inside detail */
.spd-detail-countdown .pdm-countdown-strip,
.spd-detail-countdown [class*="countdown"] { border-radius: 10px; }

/* action buttons */
.spd-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.spd-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.16s;
}
.spd-action-btn--primary {
  background: #0000cc;
  color: #fff;
}
.spd-action-btn--primary:hover { background: #0000aa; }
.spd-action-btn--outline {
  background: #fff;
  color: #0000cc;
  border: 1px solid #0000cc !important;
}
.spd-action-btn--outline:hover { background: #EFF6FF; }
.spd-action-btn--ghost {
  background: #F1F5F9;
  color: #94A3B8;
  cursor: not-allowed;
}

/* QR section (right panel) */
.spd-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #F8FAFC;
}
.spd-qr-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.spd-qr-logo { height: 22px; width: auto; }
.spd-qr-brand-name {
  font-size: 13px;
  font-weight: 700;
  color: #0000cc;
  letter-spacing: 0.06em;
}
.spd-qr-img {
  width: min(200px, 100%);
  height: auto;
  display: block;
  border-radius: 8px;
}
.spd-qr-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
  width: 100%;
  box-sizing: border-box;
}
.spd-qr-link-text {
  flex: 1;
  font-size: 11px;
  color: #64748B;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spd-qr-copy {
  padding: 4px 12px;
  background: #0000cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.spd-qr-copy:hover { background: #0000aa; }
.spd-qr-share-row {
  display: flex;
  gap: 8px;
}
.spd-share-pill {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.spd-share-pill:hover { border-color: #0000cc; color: #0000cc; }

.spd-qr-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed #E2E8F0;
  border-radius: 14px;
  color: #94A3B8;
  font-size: 12px;
  text-align: center;
}

/* ─── Mobile: stack vertically ─── */
@media (max-width: 767px) {
  .spd-body { flex-direction: column; min-height: unset; border-radius: 10px; }
  .spd-left { width: 100%; border-right: none; border-bottom: 1px solid #E2E8F0; }
  .spd-right { min-height: 400px; }
  .spd-stats-strip { flex-wrap: wrap; gap: 12px 0; padding: 12px 16px; border-radius: 10px; }
  .spd-stat-sep { display: none; }
  .spd-stat-item { flex: 0 0 50%; border-bottom: 1px solid #F1F5F9; padding-bottom: 8px; }
  .spd-detail { padding: 16px; }
  .spd-detail-fields { grid-template-columns: 1fr; }
  .spd-detail-header { flex-wrap: wrap; gap: 10px; }
}

/* ─── Dark mode overrides ─── */
body.dark-mode .spd-stats-strip { background: #1E293B !important; border-color: #334155 !important; }
body.dark-mode .spd-stat-num { color: #F1F5F9 !important; }
body.dark-mode .spd-stat-sep { background: #334155 !important; }
body.dark-mode .spd-body { background: #1E293B !important; border-color: #334155 !important; }
body.dark-mode .spd-left { background: #0F172A !important; border-right-color: #334155 !important; }
body.dark-mode .spd-left-head { background: #1E293B !important; border-bottom-color: #334155 !important; }
body.dark-mode .spd-search-input { background: #0F172A !important; border-color: #334155 !important; color: #F1F5F9 !important; }
body.dark-mode .spd-pill { background: #1E293B !important; border-color: #334155 !important; color: #CBD5E1 !important; }
body.dark-mode .spd-pill.active { background: #0000cc !important; border-color: #0000cc !important; color: #fff !important; }
body.dark-mode .spd-card { border-bottom-color: #1E293B !important; }
body.dark-mode .spd-card:hover { background: #1E293B !important; }
body.dark-mode .spd-card--selected { background: #1E293B !important; border-left-color: #818cf8 !important; }
body.dark-mode .spd-card-icon-wrap { background: #1E293B !important; color: #818cf8 !important; }
body.dark-mode .spd-card-title { color: #F1F5F9 !important; }
body.dark-mode .spd-card-sub { color: #94A3B8 !important; }
body.dark-mode .spd-right-empty-title { color: #94A3B8 !important; }
body.dark-mode .spd-detail-name { color: #F1F5F9 !important; }
body.dark-mode .spd-field { background: #0F172A !important; border-color: #334155 !important; }
body.dark-mode .spd-field-val { color: #F1F5F9 !important; }
body.dark-mode .spd-qr-wrap { background: #0F172A !important; border-color: #334155 !important; }
body.dark-mode .spd-qr-link-row { background: #1E293B !important; border-color: #334155 !important; }
body.dark-mode .spd-share-pill { background: #1E293B !important; border-color: #334155 !important; color: #CBD5E1 !important; }
body.dark-mode .spd-qr-pending { border-color: #334155 !important; }

/* ═══════════════════════════════════════════════════════════
   NAV — ALWAYS-VISIBLE LANGUAGE + DARK MODE (v92)
   ═══════════════════════════════════════════════════════════ */
.nav-lang-wrap {
  display: flex !important;
  align-items: center !important;
  margin-right: 24px !important;
}
.nav-lang-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 10px !important;
  height: 36px !important;
  cursor: pointer !important;
  outline: none !important;
  max-width: 120px !important;
  transition: border-color 0.18s !important;
}
.nav-lang-select:hover { border-color: #0000cc !important; color: #0000cc !important; }
.nav-lang-select:focus { border-color: #0000cc !important; }

/* dark mode overrides for always-visible controls */
body.dark-mode .nav-lang-select {
  border-color: #334155 !important;
  color: #CBD5E1 !important;
  background: transparent !important;
}
body.dark-mode .nav-lang-select option { background: #1E293B; color: #F1F5F9; }
body.dark-mode .nav-lang-select:hover { border-color: #818cf8 !important; color: #818cf8 !important; }

/* ═══════════════════════════════════════════════════════════
   MODERN TYPOGRAPHY SYSTEM v93  —  HubSpot-grade
   Large, bold, tight-tracked headings across the whole site
   ═══════════════════════════════════════════════════════════ */

/* ── Base font: Inter 800 for headings ── */
h1, h2, h3, h4, h5,
.ds-h1, .ds-h2, .ds-h3, .ds-h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px !important;
  line-height: 1.08 !important;
  color: #0F172A !important;
}
h3, h4, .ds-h3, .ds-h4 {
  font-weight: 700 !important;
  letter-spacing: -0.8px !important;
  line-height: 1.15 !important;
}

/* ── Global scale ── */
h1, .ds-h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem) !important;
}
h2, .ds-h2 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  letter-spacing: -1.2px !important;
}
h3, .ds-h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem) !important;
}
h4, .ds-h4 {
  font-size: clamp(1.1rem, 2vw, 1.375rem) !important;
  letter-spacing: -0.5px !important;
}

/* ── Hero headline ── */
.hero-value-prop {
  font-size: clamp(2.75rem, 6vw, 4.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: -2.5px !important;
  color: #0F172A !important;
}
@media (max-width: 767px) {
  .hero-value-prop { font-size: clamp(2.25rem, 8vw, 3rem) !important; letter-spacing: -1.5px !important; }
}

/* ── Hero description ── */
.hero-desc-main {
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: #475569 !important;
  letter-spacing: 0 !important;
}

/* ── Section headings ── */
.ds-section-title,
.ds-cta-title,
.pm-hub-title,
.plat-hero-title,
.acc-hero-title {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px !important;
  line-height: 1.06 !important;
  color: #0F172A !important;
}

.ds-section-sub,
.ds-cta-subtitle,
.pm-hub-subtitle,
.plat-hero-sub,
.acc-hero-sub {
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.65 !important;
  color: #475569 !important;
}

/* ── Nav brand: keep the Playfair style but tighten ── */
#navbar .nav-brand .nav-brand-suf {
  letter-spacing: 0.04em !important;
}

/* ── Body copy & paragraphs ── */
p, .ds-body {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  letter-spacing: 0 !important;
  color: #475569 !important;
}

/* ── Policy management page title ── */
.pm-hub-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  letter-spacing: -1px !important;
}
.pm-hub-subtitle {
  font-size: 15px !important;
}

/* ── Dashboard section headings ── */
.db-section-title {
  font-weight: 800 !important;
  letter-spacing: -0.8px !important;
}

/* ── Insight / article headings ── */
.insight-post-title,
.insight-card-title {
  font-weight: 800 !important;
  letter-spacing: -0.8px !important;
  line-height: 1.2 !important;
}

/* ── Card titles ── */
.s-card-title,
.feature-title,
.plat-card-title,
.benefit-title {
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  h1, .ds-h1 { font-size: clamp(2rem, 6vw, 3rem) !important; }
  h2, .ds-h2 { font-size: clamp(1.75rem, 5vw, 2.5rem) !important; }
  .ds-section-title, .ds-cta-title, .plat-hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem) !important;
    letter-spacing: -1px !important;
  }
}
@media (max-width: 600px) {
  h1, .ds-h1 { font-size: 2rem !important; letter-spacing: -1px !important; }
  h2, .ds-h2 { font-size: 1.75rem !important; letter-spacing: -0.8px !important; }
  .ds-section-title, .ds-cta-title { font-size: 1.75rem !important; }
}

/* ── High-specificity hero overrides (beat style.css compound selectors) ── */
div.hero-left .hero-value-prop,
.hero-left .hero-value-prop {
  font-size: clamp(2.75rem, 6vw, 4.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: -2.5px !important;
  color: #0F172A !important;
  max-width: none !important;
}
@media (max-width: 767px) {
  div.hero-left .hero-value-prop,
  .hero-left .hero-value-prop {
    font-size: clamp(2.25rem, 8vw, 3rem) !important;
    letter-spacing: -1.5px !important;
  }
}
div.hero-left .hero-desc-main,
.hero-left .hero-desc-main {
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: #475569 !important;
  letter-spacing: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   HUBSPOT FINESSE  v94  —  Policy dashboard refinements
   ═══════════════════════════════════════════════════════════ */

/* ── pm-hub header: compact title bar ── */
.pm-hub-header {
  background: #fff !important;
  border: none !important;
  border-bottom: 1px solid #E2E8F0 !important;
  border-radius: 0 !important;
  padding: 20px 0 16px !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}
.pm-hub-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.4px !important;
  color: #0F172A !important;
  margin: 0 !important;
}
.pm-hub-subtitle {
  font-size: 13px !important;
  color: #64748B !important;
  margin: 2px 0 0 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/* ── pm-hub tabs: HubSpot underline style ── */
.pm-hub-tabs-wrap {
  background: #fff !important;
  border: none !important;
  border-bottom: 1px solid #E2E8F0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  box-shadow: none !important;
}
.pm-hub-tabs {
  display: flex !important;
  gap: 0 !important;
  padding: 0 !important;
}
.pm-hub-tab {
  padding: 12px 20px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  background: none !important;
  cursor: pointer !important;
  letter-spacing: 0 !important;
  transition: color 0.15s, border-color 0.15s !important;
  position: relative !important;
  white-space: nowrap !important;
}
.pm-hub-tab:hover { color: #0000cc !important; }
.pm-hub-tab.active {
  color: #0000cc !important;
  border-bottom-color: #0000cc !important;
  font-weight: 600 !important;
}

/* ── Stats strip: HubSpot stat card style ── */
.spd-stats-strip {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 0 !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
}
.spd-stat-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex: 1 !important;
  gap: 3px !important;
  padding: 16px 20px !important;
}
.spd-stat-sep {
  width: 1px !important;
  height: auto !important;
  background: #E2E8F0 !important;
  flex-shrink: 0 !important;
  align-self: stretch !important;
}
.spd-stat-lbl {
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 2px !important;
}
.spd-stat-num {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  line-height: 1 !important;
  letter-spacing: -0.5px !important;
}
.spd-stat-num--sm {
  font-size: 16px !important;
  padding-top: 6px !important;
}
.spd-stat-item--green .spd-stat-num { color: #0d9488 !important; }
.spd-stat-item--amber .spd-stat-num  { color: #d97706 !important; }
.spd-stat-item--slate .spd-stat-num  { color: #0000cc !important; }

/* ── spd body panel: flatter ── */
.spd-body {
  border-radius: 8px !important;
  border: 1px solid #E2E8F0 !important;
}

/* ── Left panel ── */
.spd-left {
  background: #fff !important;
  width: 320px !important;
}
.spd-left-head {
  padding: 12px 14px 10px !important;
}

/* ── Filter pills → HubSpot-style tab strip ── */
.spd-pills-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  padding: 0 !important;
  margin: 8px -14px 0 !important;
  overflow-x: auto !important;
}
.spd-pill {
  padding: 8px 14px !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  background: none !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: color 0.15s, border-color 0.15s !important;
  white-space: nowrap !important;
  margin-bottom: -1px !important;
}
.spd-pill:hover {
  color: #0000cc !important;
  border-color: transparent !important;
  background: none !important;
}
.spd-pill.active {
  color: #0000cc !important;
  background: none !important;
  border-color: #0000cc !important;
  font-weight: 600 !important;
}

/* ── Search: compact ── */
.spd-search-wrap { margin-bottom: 0 !important; }
.spd-search-input {
  height: 32px !important;
  font-size: 12px !important;
  border-radius: 6px !important;
  background: #F8FAFC !important;
}

/* ── Policy cards: compact table rows ── */
.spd-card {
  padding: 10px 14px !important;
  border-bottom: 1px solid #F1F5F9 !important;
  gap: 10px !important;
}
.spd-card-icon-wrap {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: #EFF6FF !important;
}
.spd-card-title {
  font-size: 12.5px !important;
  font-weight: 600 !important;
}
.spd-card-sub {
  font-size: 11px !important;
  margin-bottom: 3px !important;
}
.spd-card-status-lbl,
.spd-card-exp {
  font-size: 11px !important;
}

/* ── Right panel detail: tighter ── */
.spd-detail {
  padding: 20px 24px !important;
  gap: 16px !important;
}
.spd-detail-header {
  padding-bottom: 16px !important;
}
.spd-detail-avatar {
  width: 44px !important;
  height: 44px !important;
  font-size: 16px !important;
  border-radius: 50% !important;
}
.spd-detail-name {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px !important;
}
.spd-detail-sub {
  font-size: 12px !important;
}

/* ── Section topbar: tight ── */
.pm-section-topbar {
  margin-bottom: 16px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
.pm-section-topbar-sub {
  font-size: 13px !important;
  color: #64748B !important;
}
.pm-add-btn {
  font-size: 13px !important;
  padding: 8px 16px !important;
  height: 34px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* ═══════════════════════════════════════════════════════════
   SPD DETAIL PANEL  v95  —  compact no-scroll redesign
   ═══════════════════════════════════════════════════════════ */

/* ── Right panel: no internal scroll ── */
.spd-right { overflow: hidden !important; }
.spd-detail {
  padding: 16px 20px !important;
  gap: 12px !important;
  height: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* ── Header: name only, no subtitle ── */
.spd-detail-header {
  padding-bottom: 12px !important;
  gap: 12px !important;
}
.spd-detail-sub { display: none !important; }
.spd-detail-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px !important;
}
.spd-detail-avatar {
  width: 40px !important;
  height: 40px !important;
  font-size: 14px !important;
}

/* ── Countdown: blue text on white ── */
.pdm-countdown--light {
  background: #fff !important;
  border: 1.5px solid #0000cc !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
}
.pdm-countdown--light .pdm-cd-label {
  color: #0000cc !important;
  opacity: 1 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
}
.pdm-countdown--light .pdm-cd-val {
  color: #0000cc !important;
  background: #EFF6FF !important;
  font-size: 20px !important;
}
.pdm-countdown--light .pdm-cd-unit {
  color: #475569 !important;
}
.pdm-countdown--light .pdm-cd-sep {
  color: #CBD5E1 !important;
}

/* ── 3-column field row ── */
.spd-detail-fields--3col {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 8px !important;
}
.spd-detail-fields--3col .spd-field {
  padding: 10px 12px !important;
}
.spd-field-lbl {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #94A3B8 !important;
  margin-bottom: 3px !important;
  display: block !important;
}
.spd-field-val {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  word-break: break-all !important;
}

/* ── QR: larger, centred ── */
.spd-qr-wrap {
  padding: 12px 16px !important;
  border-radius: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}
.spd-qr-img {
  width: 150px !important;
  height: 150px !important;
  border-radius: 10px !important;
  border: 1px solid #E2E8F0 !important;
}
.spd-qr-brand-row {
  justify-content: center !important;
}

/* ── Action buttons: side by side, full width ── */
.spd-detail-actions {
  display: flex !important;
  gap: 8px !important;
  margin-top: 0 !important;
}
.spd-action-btn {
  flex: 1 !important;
  padding: 10px 12px !important;
  font-size: 12.5px !important;
  border-radius: 8px !important;
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL WHITE BACKGROUND  v96  —  no grey anywhere
   ═══════════════════════════════════════════════════════════ */
:root { --ds-bg-secondary: #ffffff !important; }

html, body,
.spd-left,
.spd-left-head,
.spd-search-input,
.pm-hub-header,
.pm-hub-tabs-wrap,
.pdash-th,
.nav-inner,
#navbar,
.page,
.dashboard-grid,
.db-stats-grid,
.form-container,
.form-wide,
.pmv-usecases,
.pm-empty-state,
.pm-hub-section,
.pm-section-topbar,
.insight-listing,
.insight-card,
.profile-section,
.activity-feed,
.notification-list,
.settings-panel,
[class*="section-bg"],
[class*="bg-light"],
[class*="bg-grey"],
[class*="bg-gray"],
[class*="bg-secondary"] {
  background: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD REDESIGN v103
   ═══════════════════════════════════════════════════════════ */

/* ── Header right buttons ── */
.db-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.db-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0000cc;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.db-btn-primary:hover { background: #0000aa; }

.db-btn-reminders {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #0F172A;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: border-color 0.18s, background 0.18s;
}
.db-btn-reminders:hover { border-color: #0000cc; color: #0000cc; }
.db-btn-reminders.active { border-color: #0000cc; background: #f0f0ff; color: #0000cc; }

.db-reminder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0000cc;
  color: #fff;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  line-height: 1;
}

/* ── Stats row (4 equal cards) ── */
.db-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 0;
}

.db-stat-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.18s;
}
.db-stat-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.db-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #0000cc;
  line-height: 1.1;
  margin-bottom: 6px;
}

.db-stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.db-stat-card--expired .db-stat-num { color: #64748B; }

@media (max-width: 767px) {
  .db-stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .db-stat-num { font-size: 1.6rem; }
}
@media (max-width: 479px) {
  .db-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── Quick Actions Grid (3 equal cards) ── */
.db-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 0;
}

.db-quick-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.db-quick-card:hover {
  border-color: #0000cc;
  box-shadow: 0 4px 24px rgba(0,0,204,0.08);
  transform: translateY(-2px);
}

.db-quick-icon-wrap {
  width: 44px;
  height: 44px;
  background: #f0f0ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0000cc;
  margin-bottom: 4px;
}

.db-quick-label {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}

.db-quick-sub {
  font-size: 13px;
  color: #64748B;
  font-weight: 400;
}

@media (max-width: 767px) {
  .db-quick-grid { grid-template-columns: 1fr; gap: 12px; }
  .db-quick-card { padding: 20px 18px; }
}

/* ── Insurance Lines section ── */
.db-lines-section {
  margin-top: 32px;
}
.db-section-label {
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

/* ── Reminder Panel ── */
.db-reminder-panel {
  margin-top: 12px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.drp-inner { padding: 0; }

.drp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #F1F5F9;
}

.drp-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}

.drp-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #94A3B8;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s;
}
.drp-close:hover { color: #0F172A; }

/* ── Threshold settings ── */
.drp-settings {
  padding: 18px 24px;
  border-bottom: 1px solid #F1F5F9;
  background: #FAFBFF;
}

.drp-settings-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.drp-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.drp-toggle:hover { border-color: #0000cc; color: #0000cc; }
.drp-toggle--on {
  background: #0000cc;
  border-color: #0000cc;
  color: #fff;
}
.drp-toggle--on:hover { background: #0000aa; border-color: #0000aa; }
.drp-toggle--alert { border-color: #0000cc; }
.drp-toggle--on.drp-toggle--alert { background: #0000cc; }

.drp-toggle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
}
.drp-toggle:not(.drp-toggle--on) .drp-toggle-dot {
  background: #0000cc;
}

/* ── Reminder list ── */
.drp-list {
  padding: 8px 0;
}

.drp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #F8FAFC;
  transition: background 0.13s;
}
.drp-item:last-child { border-bottom: none; }
.drp-item:hover { background: #FAFBFF; }
.drp-item--urgent { background: #FFF8F8; }
.drp-item--urgent:hover { background: #FFF0F0; }

.drp-item-left { flex: 1; }
.drp-item-line {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}
.drp-item-provider {
  font-size: 13px;
  color: #475569;
  margin-bottom: 2px;
}
.drp-item-ref { color: #94A3B8; }
.drp-item-expiry {
  font-size: 12px;
  color: #94A3B8;
}

.drp-item-right { flex-shrink: 0; text-align: right; }
.drp-item-days {
  font-size: 13px;
  font-weight: 700;
  color: #0000cc;
  white-space: nowrap;
}
.drp-item-days--urgent { color: #ef4444; }

.drp-empty {
  padding: 28px 24px;
  text-align: center;
  font-size: 14px;
  color: #94A3B8;
}

/* ── Hide old elements still referenced elsewhere ── */
.dash-reminders { display: none !important; }
.db-activity-wrap { display: none !important; }
.db-main-grid { display: block !important; }
.db-main-left, .db-main-right { width: 100% !important; float: none !important; }
/* Keep old stat-card for admin panel, only override on user dashboard */
#page-dashboard .stat-card { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   FILE EXPLORER YEAR TREE — My Policies v103
   ═══════════════════════════════════════════════════════════ */

/* Left panel takes full height, tree fills it */
.fe-tree {
  padding: 8px 0;
  overflow-y: auto;
}

.fe-empty {
  padding: 32px 20px;
  text-align: center;
  color: #94A3B8;
  font-size: 14px;
}

/* ── Year folder row ── */
.fe-year-group {
  margin-bottom: 2px;
}

.fe-folder {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  cursor: pointer;
  border-radius: 8px;
  margin: 0 6px;
  user-select: none;
  transition: background 0.13s;
}
.fe-folder:hover { background: #F1F5F9; }
.fe-folder--open { background: #F8FAFC; }

.fe-chevron {
  display: flex;
  align-items: center;
  color: #94A3B8;
  transition: transform 0.18s;
  flex-shrink: 0;
}
.fe-folder--open .fe-chevron { transform: rotate(90deg); }

.fe-folder-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.fe-year-label {
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  flex: 1;
}

.fe-year-count {
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  background: #F1F5F9;
  border-radius: 99px;
  padding: 2px 8px;
  flex-shrink: 0;
}

/* ── Policy rows (children) ── */
.fe-children {
  padding-bottom: 4px;
}

.fe-policy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  margin: 1px 6px 1px 24px;
  border-radius: 8px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.12s, border-color 0.12s;
  position: relative;
}
.fe-policy:hover {
  background: #F1F5F9;
  border-left-color: #CBD5E1;
}
.fe-policy--selected {
  background: #EEF2FF !important;
  border-left-color: #0000cc !important;
}

.fe-policy-indent {
  flex-shrink: 0;
  width: 4px;
}

.fe-policy-line-icon {
  display: flex;
  align-items: center;
  color: #0000cc;
  flex-shrink: 0;
}
.fe-policy-line-icon--muted { color: #CBD5E1; }

.fe-policy-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.fe-policy-type {
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fe-policy-type--muted { color: #94A3B8; }

.fe-policy-provider {
  font-size: 11px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fe-policy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fe-policy-dot--active  { background: #22c55e; }
.fe-policy-dot--expired { background: #CBD5E1; }

/* ═══════════════════════════════════════════════════════════
   POLICY MANAGEMENT FIXES v104
   ═══════════════════════════════════════════════════════════ */

/* Fix: pm-hub-header text was white-on-white — restore dark colours */
.pm-hub-title {
  color: #0F172A !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}
.pm-hub-subtitle {
  color: #64748B !important;
  font-size: 13px !important;
}
.pm-hub-header h1,
.pm-hub-header h2,
.pm-hub-header h3,
.pm-hub-header h4,
.pm-hub-header p,
.pm-hub-header span {
  color: inherit !important;
}

/* Expired status badge — red */
.pdash-status-inactive,
.pdash-status-expired {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
  border: 1px solid #FECACA !important;
}

/* Active status badge — green */
.pdash-status-active {
  background: #F0FDF4 !important;
  color: #16A34A !important;
  border: 1px solid #BBF7D0 !important;
}

/* Detail panel status badge in top-right */
.spd-detail-status.pdash-status-inactive,
.spd-detail-status.pdash-status-expired {
  color: #DC2626 !important;
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  font-weight: 700 !important;
}

/* ── Policy row status pills in file explorer tree ── */
.fe-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  text-transform: uppercase;
}
.fe-pill--active {
  background: #15803d !important;
  color: #ffffff !important;
  border: 1px solid #15803d !important;
}
.fe-pill--expired {
  background: #dc2626 !important;
  color: #ffffff !important;
  border: 1px solid #dc2626 !important;
}
.fe-pill--demo {
  background: #FACC15 !important;
  color: #422006 !important;
  border: 1px solid #CA8A04 !important;
  letter-spacing: 0.08em !important;
  margin-right: 4px !important;
}
/* Subtle yellow tint on the whole demo row so it's obvious in the list */
.fe-policy--demo {
  background: #FEFCE8 !important;
  border-left: 3px solid #FACC15 !important;
}
.fe-policy--demo.fe-policy--selected {
  background: #FEF9C3 !important;
}

/* ═══════════════════════════════════════════════════════════
   COMPACT DETAIL PANEL v106 — fit without page scroll
   ═══════════════════════════════════════════════════════════ */

/* Narrow left tree panel */
.spd-left {
  width: 200px !important;
  min-width: 200px !important;
}

/* Right panel: allow internal scroll, never page scroll */
.spd-right {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Detail wrapper: tighter padding and gaps */
.spd-detail {
  padding: 14px 18px !important;
  gap: 10px !important;
  overflow: visible !important;
  height: auto !important;
}

/* Header row: tighter */
.spd-detail-header {
  padding-bottom: 10px !important;
  gap: 10px !important;
}
.spd-detail-avatar {
  width: 36px !important;
  height: 36px !important;
  font-size: 13px !important;
}
.spd-detail-name {
  font-size: 14px !important;
}

/* Countdown: more compact */
.spd-detail-countdown {
  margin: 0 !important;
}
.pdm-countdown--light {
  padding: 8px 14px !important;
}
.pdm-countdown--light .pdm-cd-val {
  font-size: 18px !important;
}

/* Fields grid: 3 columns, less padding */
.spd-detail-fields,
.spd-detail-fields--3col {
  gap: 6px !important;
}
.spd-detail-fields--3col .spd-field,
.spd-field {
  padding: 8px 10px !important;
}

/* QR section: horizontal layout — image left, content right */
.spd-qr-wrap {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 10px 14px !important;
}
.spd-qr-img {
  width: 90px !important;
  height: 90px !important;
  flex-shrink: 0 !important;
}
.spd-qr-brand-row {
  justify-content: flex-start !important;
}
/* Wrap link + share + brand into a column */
.spd-qr-link-row {
  padding: 5px 8px !important;
}
.spd-qr-link-text {
  font-size: 10px !important;
}
.spd-qr-share-row {
  gap: 6px !important;
  flex-wrap: wrap !important;
}
.spd-share-pill {
  padding: 4px 10px !important;
  font-size: 11px !important;
}

/* Action buttons */
.spd-detail-actions {
  gap: 8px !important;
  margin-top: 2px !important;
}
.spd-action-btn {
  padding: 9px 10px !important;
  font-size: 12px !important;
}

/* Reduce spd-body minimum height */
.spd-body {
  min-height: 480px !important;
}

@media (max-width: 767px) {
  .spd-left { width: 100% !important; min-width: unset !important; }
  .spd-qr-wrap { flex-direction: column !important; align-items: center !important; }
  .spd-qr-img { width: 120px !important; height: 120px !important; }
}

/* ═══════════════════════════════════════════════════════════
   COMPACT TOPBAR + FIELD ROW ONLY v107b
   ═══════════════════════════════════════════════════════════ */

/* Revert left panel to original width */
.spd-left {
  width: 320px !important;
  min-width: 320px !important;
}

/* Revert QR section back to vertical */
.spd-qr-wrap {
  flex-direction: column !important;
  align-items: center !important;
  padding: 12px 16px !important;
  gap: 8px !important;
}
.spd-qr-img {
  width: 150px !important;
  height: 150px !important;
  flex-shrink: unset !important;
}
.spd-qr-brand-row {
  justify-content: center !important;
}

/* Add Policy topbar: more compact */
.pm-section-topbar {
  padding: 6px 0 8px !important;
  margin-bottom: 10px !important;
  min-height: unset !important;
}

/* 3-field row (Policy No / Effective / Expires): single compact line */
.spd-detail-fields--3col {
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 6px !important;
}
.spd-detail-fields--3col .spd-field {
  padding: 6px 10px !important;
}
.spd-detail-fields--3col .spd-field-lbl {
  font-size: 9px !important;
  margin-bottom: 2px !important;
}
.spd-detail-fields--3col .spd-field-val {
  font-size: 11px !important;
  font-weight: 600 !important;
}

/* ── Tab row: reduce height v108 ── */
.pm-hub-tabs-wrap {
  margin-bottom: 12px !important;
}
.pm-hub-tab {
  padding: 7px 16px !important;
  font-size: 13px !important;
}

/* ── Add Policy topbar: reduce height v109 ── */
.pm-section-topbar {
  padding: 4px 0 6px !important;
  margin-bottom: 8px !important;
}

/* ── Add Policy topbar: reduce height further v110 ── */
.pm-section-topbar {
  padding: 2px 0 3px !important;
  margin-bottom: 6px !important;
}

/* ── Detail header row: reduce height v111 ── */
.spd-detail-header {
  padding-bottom: 8px !important;
  gap: 8px !important;
}
.spd-detail-avatar {
  width: 32px !important;
  height: 32px !important;
  font-size: 11px !important;
}
.spd-detail-name {
  font-size: 13px !important;
}

/* ── Policy No / Effective / Expires row: tighter v112 ── */
.spd-detail-fields--3col .spd-field {
  padding: 4px 8px !important;
}
.spd-detail-fields--3col {
  gap: 4px !important;
}

/* ── Policy No / Effective / Expires row: tighter v113 ── */
.spd-detail-fields--3col .spd-field {
  padding: 2px 6px !important;
}
.spd-detail-fields--3col {
  gap: 3px !important;
  margin-bottom: 6px !important;
}

/* ── Policy No / Effective / Expires: single-line strip v114 ── */
.spd-detail-fields--3col {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  margin-bottom: 6px !important;
  align-items: center !important;
  padding: 4px 10px !important;
  background: #F8FAFC !important;
  border-radius: 6px !important;
}
.spd-detail-fields--3col .spd-field {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  flex: unset !important;
}
.spd-detail-fields--3col .spd-field-lbl {
  font-size: 9px !important;
  font-weight: 500 !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
}
.spd-detail-fields--3col .spd-field-val {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  white-space: nowrap !important;
}

/* ── Policy No / Effective / Expires: spread boxed tabs v115 ── */
.spd-detail-fields--3col {
  display: flex !important;
  flex-direction: row !important;
  gap: 6px !important;
  margin-bottom: 6px !important;
  align-items: stretch !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
}
.spd-detail-fields--3col .spd-field {
  flex: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 10px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 6px !important;
}

/* ══════════════════════════════════════════════════════════
   LANGUAGE FLAG PICKER  v116
   ══════════════════════════════════════════════════════════ */

/* Hide Google Translate toolbar */
.skiptranslate { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* Picker button */
.nav-lang-btn {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: none !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 5px 9px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  transition: border-color 0.15s, background 0.15s !important;
}
.nav-lang-btn:hover {
  border-color: #0000cc !important;
  background: #f0f0ff !important;
}
#langPickerFlag { font-size: 16px !important; line-height: 1 !important; }
#langPickerCode { font-size: 11px !important; font-weight: 700 !important; }

/* Dropdown container */
.nav-lang-wrap {
  position: relative !important;
}
.nav-lang-dropdown {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  right: 0 !important;
  width: 220px !important;
  background: #1E293B !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28) !important;
  z-index: 99999 !important;
  overflow: hidden !important;
  flex-direction: column !important;
}
.nav-lang-dropdown.open {
  display: flex !important;
}

/* Search input */
.nav-lang-search {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 14px !important;
  background: #0F172A !important;
  border: none !important;
  border-bottom: 1px solid #334155 !important;
  color: #F1F5F9 !important;
  font-size: 12px !important;
  outline: none !important;
  border-radius: 0 !important;
}
.nav-lang-search::placeholder { color: #64748B !important; }

/* Scrollable list */
.nav-lang-list {
  overflow-y: auto !important;
  max-height: 280px !important;
  padding: 4px 0 !important;
}
.nav-lang-list::-webkit-scrollbar { width: 4px !important; }
.nav-lang-list::-webkit-scrollbar-track { background: transparent !important; }
.nav-lang-list::-webkit-scrollbar-thumb { background: #334155 !important; border-radius: 4px !important; }

/* Individual item */
.nav-lang-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 14px !important;
  cursor: pointer !important;
  color: #CBD5E1 !important;
  font-size: 13px !important;
  transition: background 0.1s !important;
}
.nav-lang-item:hover { background: #334155 !important; color: #F1F5F9 !important; }
.nav-lang-item.active { background: #1d3a8a !important; color: #ffffff !important; font-weight: 600 !important; }
.nav-lang-item-flag { font-size: 18px !important; line-height: 1 !important; flex-shrink: 0 !important; }
.nav-lang-item-name { flex: 1 !important; }

/* ── Lang picker: brand colour background v117 ── */
.nav-lang-dropdown {
  background: #0000cc !important;
}
.nav-lang-search {
  background: #0000aa !important;
  border-bottom-color: #2222dd !important;
  color: #ffffff !important;
}
.nav-lang-search::placeholder { color: #aaaaff !important; }
.nav-lang-item { color: #dde !important; }
.nav-lang-item:hover { background: #1111dd !important; color: #ffffff !important; }
.nav-lang-item.active { background: #ffffff !important; color: #0000cc !important; }
.nav-lang-list::-webkit-scrollbar-thumb { background: #2222dd !important; }

/* ── Hero phone: life-size v118 ── */
.hi-frame {
  width: clamp(360px, 48vw, 540px) !important;
}
.hi-wrap {
  align-items: flex-start !important;
}
div.hero-right {
  align-items: flex-start !important;
  justify-content: center !important;
}
@media (max-width: 1024px) {
  .hi-frame { width: clamp(300px, 48vw, 460px) !important; }
}
@media (max-width: 600px) {
  .hi-frame { width: clamp(260px, 82vw, 380px) !important; }
}

/* ══════════════════════════════════════════════════════════
   NEW DASHBOARD LAYOUT  v119
   ══════════════════════════════════════════════════════════ */

/* Remove page padding for dashboard */
#page-dashboard { padding: 0 !important; background: #F0F2F8 !important; }

.dsh-layout {
  display: flex !important;
  min-height: 100vh !important;
  background: #F0F2F8 !important;
}

/* ── Sidebar ── */
.dsh-sidebar {
  width: 200px !important;
  min-width: 200px !important;
  background: #0000cc !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  transition: width 0.2s !important;
  flex-shrink: 0 !important;
}
.dsh-sidebar.collapsed { width: 60px !important; min-width: 60px !important; }
.dsh-sidebar.collapsed .dsh-sidebar-brand,
.dsh-sidebar.collapsed .dsh-nav-item span,
.dsh-sidebar.collapsed .dsh-demo-badge span { display: none !important; }

.dsh-sidebar-header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 20px 16px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}
.dsh-hamburger {
  background: none !important;
  border: none !important;
  color: rgba(255,255,255,0.8) !important;
  cursor: pointer !important;
  padding: 4px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.dsh-hamburger:hover { color: #fff !important; background: rgba(255,255,255,0.1) !important; }
.dsh-sidebar-brand {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
}
.dsh-sidebar-brand strong { font-weight: 900 !important; }

.dsh-sidebar-nav {
  display: flex !important;
  flex-direction: column !important;
  padding: 12px 0 !important;
  flex: 1 !important;
}
.dsh-nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 16px !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
}
.dsh-nav-item:hover { background: rgba(255,255,255,0.12) !important; color: #fff !important; }
.dsh-nav-item.dsh-nav-active {
  background: rgba(255,255,255,0.18) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.dsh-nav-item svg { flex-shrink: 0 !important; }

.dsh-sidebar-footer {
  padding: 16px !important;
  border-top: 1px solid rgba(255,255,255,0.12) !important;
}
.dsh-demo-badge {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  padding: 7px 10px !important;
}

/* ── Main content ── */
.dsh-main {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 24px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  overflow-y: auto !important;
}

/* ── Header ── */
.dsh-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}
.dsh-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}
.dsh-welcome {
  font-size: 13px !important;
  color: #64748B !important;
  display: block !important;
  margin-top: 2px !important;
}
.dsh-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.dsh-btn-reminder {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  cursor: pointer !important;
}
.dsh-btn-reminder:hover { border-color: #0000cc !important; color: #0000cc !important; }
.dsh-reminder-badge {
  background: #ef4444 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  padding: 1px 6px !important;
  min-width: 18px !important;
  text-align: center !important;
}
.dsh-btn-add {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #0000cc !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
.dsh-btn-add:hover { background: #0000aa !important; }

/* ── Verify Coverage Card ── */
.dsh-verify-card {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #E2E8F0 !important;
  padding: 24px 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  overflow: hidden !important;
}
.dsh-verify-content { flex: 1 !important; min-width: 0 !important; }
.dsh-verify-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin: 0 0 14px !important;
}
.dsh-verify-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.dsh-verify-input {
  flex: 1 !important;
  min-width: 180px !important;
  max-width: 320px !important;
  height: 40px !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  color: #0F172A !important;
  background: #F8FAFC !important;
  outline: none !important;
}
.dsh-verify-input:focus { border-color: #0000cc !important; }
.dsh-verify-btn {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 40px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  border: none !important;
}
.dsh-verify-scan { background: #0000cc !important; color: #fff !important; }
.dsh-verify-scan:hover { background: #0000aa !important; }
.dsh-verify-code { background: #F1F5F9 !important; color: #475569 !important; border: 1px solid #E2E8F0 !important; }
.dsh-verify-code:hover { background: #E2E8F0 !important; }

/* Dot pattern decoration */
.dsh-verify-dots {
  width: 180px !important;
  height: 100px !important;
  flex-shrink: 0 !important;
  background-image: radial-gradient(circle, #CBD5E1 1.5px, transparent 1.5px) !important;
  background-size: 14px 14px !important;
  opacity: 0.6 !important;
  margin-left: 20px !important;
}

/* ── Stats row ── */
.dsh-stats-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
}
.dsh-stat-card {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 20px 20px 16px !important;
  text-align: center !important;
}
.dsh-stat-num {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1 !important;
}
.dsh-stat-lbl {
  font-size: 12px !important;
  color: #64748B !important;
  margin-top: 6px !important;
  font-weight: 500 !important;
}
.dsh-stat-expired .dsh-stat-num { color: #ef4444 !important; }

/* ── Recent Policies Card ── */
.dsh-recent-card {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 20px 24px !important;
}
.dsh-recent-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 16px !important;
}
.dsh-recent-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  margin: 0 !important;
}
.dsh-view-all {
  font-size: 12px !important;
  color: #0000cc !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.dsh-view-all:hover { text-decoration: underline !important; }

.dsh-recent-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13px !important;
}
.dsh-recent-table th {
  text-align: left !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 0 12px 10px !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
.dsh-recent-table td {
  padding: 12px 12px !important;
  border-bottom: 1px solid #F8FAFC !important;
  color: #0F172A !important;
  vertical-align: middle !important;
}
.dsh-recent-table tr:last-child td { border-bottom: none !important; }
.dsh-policy-icon { font-size: 18px !important; margin-right: 10px !important; }
.dsh-policy-label { font-weight: 600 !important; }
.dsh-status-pill {
  display: inline-block !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}
.dsh-status-active { background: #dcfce7 !important; color: #15803d !important; }
.dsh-status-expired { background: #fee2e2 !important; color: #dc2626 !important; }
.dsh-qr-cell { display: flex !important; align-items: center !important; gap: 8px !important; }
.dsh-qr-link {
  color: #0000cc !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: 1px solid #0000cc !important;
  border-radius: 6px !important;
  padding: 3px 10px !important;
}
.dsh-qr-btn {
  background: #0000cc !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 4px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
.dsh-qr-btn:hover { background: #0000aa !important; }
.dsh-qr-na { color: #94A3B8 !important; font-size: 12px !important; }
.dsh-empty { color: #64748B !important; font-size: 13px !important; padding: 16px 0 !important; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .dsh-sidebar { width: 60px !important; min-width: 60px !important; }
  .dsh-sidebar .dsh-sidebar-brand,
  .dsh-sidebar .dsh-nav-item span,
  .dsh-sidebar .dsh-demo-badge span { display: none !important; }
  .dsh-main { padding: 16px !important; gap: 12px !important; }
  .dsh-stats-row { grid-template-columns: repeat(2, 1fr) !important; }
  .dsh-verify-dots { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   SPD2 — Policy Detail Panel  (v120)
   ══════════════════════════════════════════════════════════ */

.spd2-detail {
  padding: 28px 28px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  height: 100% !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

/* ── Identity row ── */
.spd2-identity {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 0 !important;
}
.spd2-avatar-wrap { flex-shrink: 0 !important; }
.spd2-avatar-photo {
  width: 76px !important;
  height: 76px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #E2E8F0 !important;
  display: block !important;
}
.spd2-avatar-init {
  width: 76px !important;
  height: 76px !important;
  border-radius: 50% !important;
  background: #0000cc !important;
  color: #fff !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: -0.02em !important;
  flex-shrink: 0 !important;
}
.spd2-identity-text { flex: 1 !important; min-width: 0 !important; }
.spd2-name {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.15 !important;
  margin-bottom: 8px !important;
}
.spd2-status-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.spd2-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}
.spd2-pill--active { background: #15803d !important; color: #fff !important; }
.spd2-pill--expired { background: #dc2626 !important; color: #fff !important; }

.spd2-countdown {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0000cc !important;
  letter-spacing: -0.01em !important;
}

/* ── Divider ── */
.spd2-divider {
  border: none !important;
  border-top: 1px solid #E2E8F0 !important;
  margin: 18px 0 !important;
}

/* ── Fields row ── */
.spd2-fields-row {
  display: flex !important;
  align-items: stretch !important;
  margin-bottom: 0 !important;
}
.spd2-field {
  flex: 1 !important;
  padding: 0 16px 0 0 !important;
}
.spd2-field--sep {
  padding-left: 16px !important;
  border-left: 1px solid #E2E8F0 !important;
}
.spd2-field-lbl {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #94A3B8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  display: block !important;
  margin-bottom: 4px !important;
}
.spd2-field-val {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  display: block !important;
  line-height: 1.3 !important;
}
.spd2-field-val--mono { font-family: 'SF Mono', 'Fira Mono', monospace !important; letter-spacing: 0.02em !important; }

/* ── QR block ── */
.spd2-qr-block {
  display: flex !important;
  justify-content: center !important;
  padding: 8px 0 16px !important;
}
.spd2-qr-img {
  width: 210px !important;
  height: 210px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}
.spd2-qr-pending {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 32px 0 !important;
  color: #94A3B8 !important;
  font-size: 13px !important;
}

/* ── URL bar ── */
.spd2-url-bar {
  display: flex !important;
  align-items: center !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  padding: 0 12px !important;
  height: 44px !important;
  margin-bottom: 18px !important;
  gap: 8px !important;
  overflow: hidden !important;
}
.spd2-url-text {
  flex: 1 !important;
  font-size: 12px !important;
  color: #475569 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-family: 'SF Mono', 'Fira Mono', monospace !important;
}
.spd2-url-icon-btn {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #64748B !important;
  padding: 4px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  transition: color 0.15s !important;
}
.spd2-url-icon-btn:hover { color: #0000cc !important; background: #F1F5F9 !important; }

/* ── Action buttons ── */
.spd2-actions {
  display: flex !important;
  gap: 12px !important;
  margin-top: auto !important;
}
.spd2-btn {
  flex: 1 !important;
  height: 46px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border: none !important;
  transition: background 0.15s, color 0.15s !important;
}
.spd2-btn--primary { background: #0000cc !important; color: #fff !important; }
.spd2-btn--primary:hover { background: #0000aa !important; }
.spd2-btn--outline { background: #fff !important; color: #0F172A !important; border: 1.5px solid #CBD5E1 !important; }
.spd2-btn--outline:hover { border-color: #0000cc !important; color: #0000cc !important; }
.spd2-btn--disabled { background: #F1F5F9 !important; color: #94A3B8 !important; cursor: default !important; }

/* Ensure right panel is white with scroll */
.spd-right {
  background: #fff !important;
  overflow-y: auto !important;
}

/* ══════════════════════════════════════════════════════════
   NSV — New Summary View  (v121)
   ══════════════════════════════════════════════════════════ */

.nsv-wrap {
  background: #F0F2F8 !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 0 24px !important;
}

/* ── Header card ── */
.nsv-header-card {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.nsv-id-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
  padding: 24px 24px 16px !important;
  position: relative !important;
}
.nsv-avatar-wrap { flex-shrink: 0 !important; }
.nsv-avatar-photo {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #E2E8F0 !important;
  display: block !important;
}
.nsv-avatar-init {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: #0000cc !important;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.nsv-id-info { flex: 1 !important; min-width: 0 !important; }
.nsv-name {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 0 0 8px !important;
  line-height: 1.15 !important;
}
.nsv-status-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 6px !important;
}
.nsv-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
}
.nsv-pill--active { background: #15803d !important; color: #fff !important; }
.nsv-pill--expired { background: #dc2626 !important; color: #fff !important; }
.nsv-days {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
}
.nsv-status-note {
  font-size: 12px !important;
  color: #64748B !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}
.nsv-active-badge {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
}
.nsv-active-badge--active { color: #15803d !important; background: #dcfce7 !important; }
.nsv-active-badge--expired { color: #dc2626 !important; background: #fee2e2 !important; }
.nsv-active-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: currentColor !important;
  flex-shrink: 0 !important;
}

/* ── Fields strip ── */
.nsv-fields-strip {
  display: flex !important;
  flex-wrap: wrap !important;
  border-top: 2px solid #0000cc !important;
  background: #ffffff !important;
  border-radius: 0 0 14px 14px !important;
  overflow: hidden !important;
}
.nsv-field-item {
  flex: 1 !important;
  min-width: 150px !important;
  padding: 18px 22px !important;
  border-right: 1px solid #E2E8F0 !important;
  background: #ffffff !important;
}
.nsv-field-item:last-child { border-right: none !important; }
.nsv-field-lbl {
  font-size: 10px !important;
  font-weight: 800 !important;
  color: #0000cc !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  display: block !important;
  margin-bottom: 8px !important;
}
.nsv-field-val {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.25 !important;
}
.nsv-field-phone {
  color: #0000cc !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* ── Coverage cards ── */
.nsv-coverage-cards {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
}
.nsv-cov-card {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 18px 16px 14px !important;
  cursor: pointer !important;
  position: relative !important;
  transition: box-shadow 0.15s, border-color 0.15s !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.nsv-cov-card:hover { box-shadow: 0 2px 12px rgba(0,0,204,0.08) !important; border-color: #c7d2fe !important; }
.nsv-cov-icon { margin-bottom: 6px !important; }
.nsv-cov-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #475569 !important;
}
.nsv-cov-value {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1 !important;
}
.nsv-cov-sub {
  font-size: 11px !important;
  color: #94A3B8 !important;
  line-height: 1.3 !important;
}
.nsv-cov-arrow {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  color: #CBD5E1 !important;
}
.nsv-cov-card:hover .nsv-cov-arrow { color: #0000cc !important; }

/* ── Accordion ── */
.nsv-accordion {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
.nsv-acc-row {
  border-bottom: 1px solid #F1F5F9 !important;
}
.nsv-acc-row:last-child { border-bottom: none !important; }
.nsv-acc-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 20px !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: background 0.12s !important;
}
/* All section headers — consistent subtle blue tint so every row reads as a header */
.nsv-acc-header {
  background: #F8FAFC !important;
}
.nsv-acc-header:hover { background: #EEF2FF !important; }
/* Expanded header — strongly separated from the white body below */
.nsv-acc-row:not(.collapsed) .nsv-acc-header {
  background: #EEF2FF !important;
  border-bottom: 2px solid #0000cc !important;
  padding: 16px 20px !important;
}
.nsv-acc-row:not(.collapsed) .nsv-acc-title {
  font-weight: 800 !important;
  color: #0000cc !important;
}
.nsv-acc-row:not(.collapsed) .nsv-acc-chevron { color: #0000cc !important; }
/* Body background stays pure white so the blue header line is the divider */
.nsv-acc-row:not(.collapsed) .nsv-acc-body {
  background: #ffffff !important;
}
.nsv-acc-rownum,
.nsv-acc-desc {
  display: none !important;
}
.nsv-acc-secnum {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: #0000cc !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  flex-shrink: 0 !important;
  min-width: 26px !important;
  height: auto !important;
  text-align: left !important;
  line-height: 1 !important;
}
.nsv-acc-titles {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 0 !important;
}
.nsv-acc-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.nsv-acc-chevron {
  flex-shrink: 0 !important;
  color: #94A3B8 !important;
  transition: transform 0.2s !important;
}
.nsv-acc-row.collapsed .nsv-acc-chevron { transform: rotate(0deg) !important; }
.nsv-acc-row:not(.collapsed) .nsv-acc-chevron { transform: rotate(180deg) !important; }
.nsv-acc-body {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.3s ease !important;
  padding: 0 20px !important;
}
.nsv-acc-row:not(.collapsed) .nsv-acc-body {
  max-height: 2000px !important;
  padding: 0 20px 16px !important;
}
.nsv-acc-empty { color: #94A3B8 !important; font-size: 13px !important; font-style: italic !important; }

/* ── Footer ── */
.nsv-footer {
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}
.nsv-footer-note {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.nsv-footer-note-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
}
.nsv-footer-note-sub {
  font-size: 11px !important;
  color: #64748B !important;
  margin-top: 1px !important;
}
.nsv-footer-actions {
  display: flex !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}
.nsv-btn {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 42px !important;
  padding: 0 20px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border: none !important;
  white-space: nowrap !important;
}
.nsv-btn--primary { background: #0000cc !important; color: #fff !important; }
.nsv-btn--primary:hover { background: #0000aa !important; }
.nsv-btn--outline { background: #fff !important; color: #0F172A !important; border: 1.5px solid #CBD5E1 !important; }
.nsv-btn--outline:hover { border-color: #0000cc !important; color: #0000cc !important; }

/* ── Back button override ── */
.summary-close-bar {
  background: #F8FAFC !important;
  border-bottom: 1px solid #E2E8F0 !important;
  padding: 10px 16px !important;
}
.summary-close-btn {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: none !important;
  border: none !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  padding: 4px 0 !important;
}
.summary-close-btn:hover { color: #0000cc !important; }

@media (max-width: 900px) {
  .nsv-coverage-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .nsv-fields-strip { flex-wrap: wrap !important; }
  .nsv-field-item { min-width: 45% !important; }
}
@media (max-width: 600px) {
  .nsv-coverage-cards { grid-template-columns: 1fr 1fr !important; }
  .nsv-acc-titles { flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
  .nsv-acc-desc { white-space: normal !important; }
}

/* ══════════════════════════════════════════════════════════
   DASHBOARD FIXES  v122
   ══════════════════════════════════════════════════════════ */

/* Section action buttons in Recent Policies table */
.dsh-sec-cell {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.dsh-sec-btn {
  display: inline-flex !important;
  align-items: center !important;
  height: 30px !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border: none !important;
  white-space: nowrap !important;
}
.dsh-sec-btn--qr {
  background: #0000cc !important;
  color: #fff !important;
}
.dsh-sec-btn--qr:hover { background: #0000aa !important; }
.dsh-sec-btn--sum {
  background: #EEF2FF !important;
  color: #0000cc !important;
  border: 1px solid #c7d2fe !important;
}
.dsh-sec-btn--sum:hover { background: #e0e7ff !important; }
.dsh-sec-btn--dim {
  opacity: 0.55 !important;
  cursor: default !important;
}

/* ── SPD2 share row (Code panel) ── */
.spd2-share-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  flex-wrap: wrap !important;
}
.spd2-share-label {
  font-size: 11px !important;
  color: #94A3B8 !important;
  font-weight: 500 !important;
  margin-right: 2px !important;
}
.spd2-share-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: opacity 0.15s !important;
}
.spd2-share-pill:hover { opacity: 0.85 !important; }
.spd2-share-wa    { background: #25D366 !important; color: #fff !important; }
.spd2-share-email { background: #EEF2FF !important; color: #0000cc !important; border: 1px solid #c7d2fe !important; }
.spd2-share-sms   { background: #F1F5F9 !important; color: #475569 !important; border: 1px solid #E2E8F0 !important; }

/* ═══════════════════════════════════════════════════════
   HERO LAYOUT v126 — phone size, gap & positioning
   ═══════════════════════════════════════════════════════ */

/* 1. Tighten gap between text and phone ~30% */
.hero-bottom-split {
  gap: clamp(20px, 3.5vw, 52px) !important;
}

/* 2. Phone 20-30% larger — target 420-460px on desktop */
.hi-frame {
  width: clamp(380px, 34vw, 460px) !important;
}

/* 3+4+5. Desktop: top-align + pull toward text + remove extra padding */
@media (min-width: 1025px) {
  div.hero-right {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .hi-wrap {
    padding: 0 0 0 20px !important; /* small buffer from column edge */
    margin-top: -30px !important;   /* nudge phone up toward headline */
    align-items: flex-start !important;
  }
}

/* Tablet 601-1024: proportionally smaller, keep centred */
@media (min-width: 601px) and (max-width: 1024px) {
  .hi-frame {
    width: clamp(300px, 40vw, 400px) !important;
  }
  div.hero-right {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .hi-wrap {
    padding: 0 !important;
    margin-top: -16px !important;
  }
}

/* ── Hero left content v126b — typography, spacing, alignment ── */

/* Headline: slightly larger, strong line spacing */
.hero-value-prop {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem) !important;
  line-height: 1.1 !important;
  margin-bottom: 28px !important;
  letter-spacing: -0.6px !important;
}

/* Subtext: clearly visible, proper breath before buttons */
.hero-desc-main {
  font-size: 18px !important;
  line-height: 1.72 !important;
  margin-bottom: 32px !important;
}

/* Buttons: no extra margin — desc margin already creates the gap */
.ds-hero-buttons {
  margin-top: 0 !important;
}

/* Supporting text below buttons is removed — hide defensively */
.hero-supporting-text {
  display: none !important;
}

/* Desktop: align left content top with phone top */
@media (min-width: 1025px) {
  div.hero-left {
    justify-content: flex-start !important;
    padding-top: 48px !important;
  }
}

/* ── How It Works — 4-column flow v126d (synced with image) ── */

/* Section background = white to match the image's white bg;
   reduce padding so columns + image sit as one tight block */
.ds-how-section {
  background: #ffffff !important;
  padding: 72px 0 64px !important;
}

/* Remove the old step-label and subtitle */
.ds-how-subtitle { display: none !important; }

/* How it works header gap — standardised */
.ds-how-header { margin-bottom: 64px !important; }

/* Wrap both the column row and image in a shared container
   so they share the same horizontal bounds exactly */
.hiw-block {
  width: 100%;
}

/* Flow row: extend edge-to-edge beyond the inner padding
   so column 1 starts at the left edge and column 4 ends at the right */
.hiw-flow {
  display: flex;
  align-items: flex-start;
  margin-left: calc(-1 * clamp(20px, 5vw, 80px));
  margin-right: calc(-1 * clamp(20px, 5vw, 80px));
  margin-top: 0;
}

/* Each column card — no frame, clean open layout */
.hiw-col {
  flex: 1;
  min-width: 0;
  padding: 20px 18px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Column title */
.hiw-col-title {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Bullet list */
.hiw-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hiw-bullets li {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
  padding-left: 13px;
  position: relative;
}

.hiw-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0000cc;
  opacity: 0.4;
}

/* Connector: fixed width sized to longest label "Generate Code" */
.hiw-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 88px;
  gap: 5px;
  align-self: center;
}

.hiw-arrow {
  font-size: 22px;
  color: #0000cc;
  opacity: 1;
  line-height: 1;
  font-weight: 700;
}

.hiw-conn-label {
  display: block;
  font-size: 9px;
  font-weight: 800;
  color: #0000cc;
  background: transparent;
  padding: 0;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-align: center;
  line-height: 1.3;
}

/* Image strip — same edge-to-edge extension as the flow row */
.hiw-image-wrap {
  margin-top: 20px;
  margin-left: calc(-1 * clamp(20px, 5vw, 80px));
  margin-right: calc(-1 * clamp(20px, 5vw, 80px));
  overflow: hidden;
  border-radius: 0;
}

.hiw-flow-img {
  width: 100%;
  display: block;
  border-radius: 0;
  border: none;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .hiw-flow {
    flex-direction: column;
    gap: 0;
  }
  .hiw-col {
    width: 100%;
    border-radius: 12px;
  }
  .hiw-connector {
    flex-direction: row;
    width: 100%;
    padding: 8px 0;
    gap: 6px;
    justify-content: center;
  }
  .hiw-arrow {
    transform: rotate(90deg);
    display: inline-block;
  }
  .hiw-image-wrap {
    margin-top: 24px;
    border-radius: 12px;
  }
  .hiw-flow-img {
    border-radius: 12px;
  }
}

/* Phone-only redesign (≤640px): centered card stepper */
@media (max-width: 640px) {
  .hiw-flow {
    margin-left: 0;
    margin-right: 0;
    gap: 0;
  }
  .hiw-col {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 22px 18px 20px;
    box-shadow: 0 4px 14px -10px rgba(15,23,42,.12);
    text-align: center;
  }
  .hiw-col-title {
    font-size: 14px;
    letter-spacing: 0.8px;
    color: #0F172A;
    margin: 0 0 14px 0;
    text-align: center;
  }
  .hiw-bullets {
    align-items: center;
    gap: 10px;
  }
  .hiw-bullets li {
    font-size: 14px;
    color: #475569;
    padding-left: 0;
    text-align: center;
    line-height: 1.5;
  }
  .hiw-bullets li::before {
    display: none;
  }
  .hiw-connector {
    flex-direction: column;
    width: 100%;
    padding: 14px 0 12px;
    gap: 8px;
    justify-content: center;
    align-items: center;
    transform: none !important;
    margin: 0 !important;
  }
  .hiw-conn-label {
    order: 1;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0000cc;
    background: rgba(0,0,204,0.08);
    padding: 5px 12px;
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
  }
  /* Hide the original "→" arrow entirely on phone */
  .hiw-arrow {
    display: none !important;
  }
  /* Render a single big down-arrow as part of the connector */
  .hiw-connector::after {
    content: '↓';
    order: 2;
    font-size: 30px;
    font-weight: 700;
    color: #0000cc;
    line-height: 1;
    display: inline-block;
  }
  .hiw-image-wrap {
    margin-left: 0;
    margin-right: 0;
    margin-top: 22px;
    border-radius: 14px;
  }
}

/* ── Real World Scenarios section ── */

.rws-section {
  background: #ffffff;
  padding: 96px 0;
}

.rws-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.rws-header {
  text-align: center;
  margin-bottom: 64px;
}

.rws-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.rws-subtitle {
  font-size: 1.05rem;
  color: #475569;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* 3 × 2 grid */
.rws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Each card */
.rws-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  cursor: pointer;
  background-color: #1E293B;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.rws-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

/* Background image layer */
.rws-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 300ms ease;
}

.rws-card:hover .rws-card-bg {
  transform: scale(1.05);
}

/* Gradient overlay — heavy dark bottom half */
.rws-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.00) 0%,
    rgba(0, 0, 0, 0.50) 50%,
    rgba(0, 0, 0, 0.88) 75%,
    rgba(0, 0, 0, 0.97) 100%
  );
  transition: background 300ms ease;
}

.rws-card:hover .rws-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.00) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.92) 75%,
    rgba(0, 0, 0, 1.00) 100%
  );
}

/* Text — pinned to bottom of card */
.rws-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  z-index: 2;
}

.rws-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 6px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.8);
}

.rws-card-desc {
  font-size: 0.86rem;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .rws-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .rws-grid {
    grid-template-columns: 1fr;
  }
  .rws-card {
    min-height: 260px;
  }
  .rws-section {
    padding: 64px 0;
  }
}

/* ─── TRUST AND AUTHORITY ─────────────────────────────────── */
.ta-section {
  background: #ffffff;
  padding: 96px 0;
}

.ta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.ta-header {
  text-align: center;
  margin-bottom: 64px;
}

.ta-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

.ta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.ta-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ta-icon {
  width: 40px;
  height: 40px;
  color: #0000cc;
  flex-shrink: 0;
}

.ta-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.ta-block-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ta-block-text {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .ta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .ta-section {
    padding: 64px 0;
  }
  .ta-inner {
    padding: 0 24px;
  }
  .ta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ta-header {
    margin-bottom: 40px;
  }
}

/* ─── VALUES: WHAT YOU GAIN ───────────────────────────────── */
.val-section {
  background: #ffffff;
  padding: 96px 0;
}

.val-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.val-header {
  text-align: center;
  margin-bottom: 64px;
}

.val-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

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

.val-card {
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 36px 32px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 250ms ease, transform 250ms ease;
}

.val-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.val-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.val-card-text {
  font-size: 0.92rem;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .val-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .val-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .val-section {
    padding: 64px 0;
  }
  .val-inner {
    padding: 0 24px;
  }
  .val-header {
    margin-bottom: 36px;
  }
}

/* ─── IMPACT: PROVEN NUMBERS ──────────────────────────────── */
.imp-section {
  background: #ffffff;
  padding: 96px 0;
}

.imp-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.imp-header {
  text-align: center;
  margin-bottom: 64px;
}

.imp-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

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

.imp-metric {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.imp-value {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: #0000cc;
  letter-spacing: -0.04em;
  line-height: 1;
}

.imp-label {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .imp-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .imp-section {
    padding: 64px 0;
  }
  .imp-inner {
    padding: 0 24px;
  }
  .imp-header {
    margin-bottom: 40px;
  }
}

/* ─── MILESTONES: WHERE WE ARE GOING ─────────────────────── */
.ms-section {
  background: #ffffff;
  padding: 96px 0;
}

.ms-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.ms-header {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 700px;
}

.ms-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

.ms-subtext {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.ms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.ms-block {
  position: relative;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 56px 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(0, 0, 204, 0.06) 0%, rgba(0, 0, 204, 0) 55%),
    #ffffff;
  transition: box-shadow 250ms ease, transform 250ms ease, border-color 250ms ease;
}

.ms-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0000cc 0%, #4F46E5 50%, #06B6D4 100%);
  opacity: 0.9;
}

.ms-block:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 204, 0.10);
  transform: translateY(-3px);
  border-color: #C7D2FE;
}

.ms-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0000cc;
}

.ms-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0000cc;
  box-shadow: 0 0 0 4px rgba(0, 0, 204, 0.15);
}

.ms-year {
  font-size: clamp(5.5rem, 11vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
  display: block;
  background: linear-gradient(135deg, #0000cc 0%, #4F46E5 55%, #06B6D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0000cc;
  margin: 4px 0 6px;
}

.ms-block-text {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 420px;
}

@media (max-width: 768px) {
  .ms-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ms-section {
    padding: 64px 0;
  }
  .ms-inner {
    padding: 0 24px;
  }
  .ms-header {
    margin-bottom: 40px;
  }
  .ms-block {
    padding: 36px 28px;
  }
}

/* ─── ECOSYSTEM ───────────────────────────────────────────── */
.eco-section {
  background: #ffffff;
  padding: 96px 0;
}

.eco-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.eco-header {
  text-align: center;
  margin-bottom: 64px;
}

.eco-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

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

.eco-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 250ms ease, transform 250ms ease;
}

.eco-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.eco-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0000cc;
  background: rgba(0, 0, 204, 0.10);
}

.eco-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.eco-icon--individuals {
  color: #0000cc;
  background: rgba(0, 0, 204, 0.10);
}

.eco-icon--professionals {
  color: #059669;
  background: rgba(5, 150, 105, 0.12);
}

.eco-icon--businesses {
  color: #D97706;
  background: rgba(217, 119, 6, 0.12);
}

.eco-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.eco-card-text {
  font-size: 0.92rem;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .eco-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .eco-section {
    padding: 64px 0;
  }
  .eco-inner {
    padding: 0 24px;
  }
  .eco-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .eco-header {
    margin-bottom: 36px;
  }
}

/* ─── INDUSTRY CREDIBILITY ────────────────────────────────── */
.cred-section {
  background: #ffffff;
  padding: 96px 0;
}

.cred-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.cred-header {
  text-align: center;
  margin-bottom: 64px;
}

.cred-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cred-block {
  padding: 0 48px 0 0;
  border-right: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cred-block:last-child {
  border-right: none;
  padding-right: 0;
}

.cred-block:not(:first-child) {
  padding-left: 48px;
}

.cred-block-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.cred-block-text {
  font-size: 0.92rem;
  color: #475569;
  margin: 0;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .cred-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .cred-block {
    border-right: none;
    padding: 0;
    border-top: 1px solid #E2E8F0;
    padding-top: 32px;
  }
  .cred-block:not(:first-child) {
    padding-left: 0;
  }
  .cred-block:first-child {
    border-top: none;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .cred-section {
    padding: 64px 0;
  }
  .cred-inner {
    padding: 0 24px;
  }
  .cred-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cred-block {
    border-right: none;
    border-top: 1px solid #E2E8F0;
    padding: 32px 0 0;
    gap: 14px;
  }
  .cred-block:first-child {
    border-top: none;
    padding-top: 0;
  }
  .cred-block:not(:first-child) {
    padding-left: 0;
  }
  .cred-header {
    margin-bottom: 40px;
  }
}

/* ─── CREDIBILITY NAME BLOCK ──────────────────────────────── */
.cred-name-block {
  margin: 80px auto 0;
  padding-top: 64px;
  border-top: 1px solid #E2E8F0;
  max-width: 560px;
  text-align: center;
}
.cred-name-block .cred-title {
  margin-bottom: 64px;
}

.cred-name-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 20px;
}

.cred-name-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0000cc;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 24px;
}

.cred-name-body {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.8;
  margin: 0;
}

.cred-name-gap {
  margin-top: 20px;
}

@media (max-width: 600px) {
  .cred-name-block {
    margin-top: 56px;
    padding-top: 48px;
  }
}

/* ─── SUB-FOOTER CTA ──────────────────────────────────────── */
.sf-section {
  background: #ffffff;
  padding: 112px 0;
  text-align: center;
  border-top: 1px solid #E2E8F0;
}

.sf-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.sf-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 24px;
}

.sf-subtext {
  font-size: 1rem;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 48px;
}

.sf-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.sf-btn-primary {
  background: #0000cc;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px 36px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  letter-spacing: -0.01em;
}

.sf-btn-primary:hover {
  background: #0000aa;
  transform: translateY(-1px);
}

.sf-btn-secondary {
  background: transparent;
  color: #0000cc;
  border: 1.5px solid #0000cc;
  border-radius: 12px;
  padding: 16px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  letter-spacing: -0.01em;
}

.sf-btn-secondary:hover {
  background: #f0f0ff;
}

.sf-footnote {
  font-size: 0.82rem;
  color: #94A3B8;
  margin: 0;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .sf-section {
    padding: 80px 0;
  }
  .sf-buttons {
    flex-direction: column;
    width: 100%;
  }
  .sf-btn-primary,
  .sf-btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ─── ANCHOR NAV LINKS ────────────────────────────────────── */
.nav-anchor {
  color: #0F172A;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s;
  position: relative;
}
.nav-anchor:hover { color: #0000cc; }
.nav-anchor.is-active { color: #0000cc; font-weight: 600; }
.nav-anchor.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0000cc;
  border-radius: 2px;
}

.nav-anchor-mob {
  color: #0F172A;
  font-weight: 500;
  text-decoration: none;
}
.nav-anchor-mob.is-active { color: #0000cc; font-weight: 600; }

.nav-mobile-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 8px 0;
}

/* ─── FOOTER BRAND EXTRAS ─────────────────────────────────── */
.footer-tagline {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.85rem !important;
  margin: 0 0 16px !important;
}
.footer-social { display: flex; gap: 12px; margin-top: 0; }
.footer-social-link {
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social-link:hover { color: #ffffff; }

/* ─── FORM PAGES (JOIN + CONTACT) ────────────────────────── */
.fp-page {
  max-width: 540px;
  margin: 0 auto;
  padding: 80px 24px 96px;
}
.fp-page--wide {
  max-width: 640px;
}
.fp-subtext {
  font-size: 0.88rem;
  color: #94A3B8;
  margin: 20px 0 0;
  line-height: 1.6;
}
.fp-header { margin-bottom: 40px; }
.fp-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0000cc;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.fp-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 20px;
}
.fp-intro {
  font-size: 0.97rem;
  color: #475569;
  line-height: 1.75;
  margin: 0 0 12px;
}
.fp-email-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0000cc;
  text-decoration: none;
}
.fp-email-link:hover { text-decoration: underline; }

.fp-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.fp-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #0F172A;
  line-height: 1.5;
}
.fp-benefit-item::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0000cc;
}

.fp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.fp-input,
.fp-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.92rem;
  color: #0F172A;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.18s;
  box-sizing: border-box;
  font-family: inherit;
}
.fp-input:focus,
.fp-textarea:focus { border-color: #0000cc; }
.fp-textarea { resize: vertical; min-height: 120px; }
.fp-btn {
  padding: 15px 24px;
  background: #0000cc;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.18s;
}
.fp-btn:hover { opacity: 0.88; }
.fp-footnote {
  font-size: 0.78rem;
  color: #94A3B8;
  margin: 0;
  text-align: center;
}
.fp-success {
  margin-top: 20px;
  padding: 14px 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #166534;
}

@media (max-width: 600px) {
  .fp-page { padding: 56px 20px 72px; }
  .fp-title { font-size: 1.6rem; }
}

/* ── Clip scan bar strictly to phone frame ── */
.hi-frame {
  overflow: hidden !important;
  position: relative !important;
  contain: paint !important;
}

/* ─── Assigned Access — Lifecycle Tabs + Cards (v144) ───── */
.p-aa-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--p-border);margin:18px 0 18px}
.p-aa-tab{appearance:none;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--p-text2);
  font:600 13.5px/1 'Inter',system-ui,-apple-system,sans-serif;letter-spacing:.01em;
  padding:10px 14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;border-radius:8px 8px 0 0;
  transition:color .15s,border-color .15s,background .15s}
.p-aa-tab:hover{color:var(--p-text1);background:#F8FAFC}
.p-aa-tab-active{color:#0000cc;border-bottom-color:#0000cc}
.p-aa-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;
  border-radius:999px;background:#F1F5F9;color:#475569;font:700 11px/1 'Inter',sans-serif}
.p-aa-tab-active .p-aa-tab-count{background:rgba(0,0,204,.12);color:#0000cc}

.p-recent-sub{font-size:13px;color:var(--p-text3);margin-top:4px;line-height:1.45}

.p-aa-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px}
.p-aa-tag{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;
  font:600 11px/1 'Inter',sans-serif;background:#F1F5F9;color:#475569;border:1px solid #E2E8F0;letter-spacing:.01em}
.p-aa-tag-internal{background:#EEF2FF;color:#3730A3;border-color:#E0E7FF}
.p-aa-tag-external{background:#FFF7ED;color:#9A3412;border-color:#FED7AA}
.p-aa-tag-kind{background:#F0F9FF;color:#075985;border-color:#BAE6FD}
.p-aa-tag-warn{background:#FEF3C7;color:#92400E;border-color:#FDE68A}

.p-aa-pill{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;
  font:700 11.5px/1 'Inter',sans-serif;letter-spacing:.02em}
.p-aa-pill-active{background:#DCFCE7;color:#166534}
.p-aa-pill-scheduled{background:#DBEAFE;color:#1E40AF}
.p-aa-pill-expired{background:#F1F5F9;color:#475569}
.p-aa-pill-overdue{background:#FEE2E2;color:#991B1B}
.p-aa-pill-revoked{background:#F3F4F6;color:#6B7280}
.p-aa-pill-pending{background:#FEF3C7;color:#92400E}
.p-aa-pill-flagged{background:#FCE7F3;color:#9D174D}

/* Modal — recipient type / access kind toggles */
.p-aa-rt-toggle{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.p-aa-kind-toggle{grid-template-columns:1fr 1fr 1fr}
.p-aa-rt-opt{appearance:none;text-align:left;cursor:pointer;background:#fff;border:1.5px solid var(--p-border);
  border-radius:12px;padding:12px 14px;transition:border-color .15s,background .15s,box-shadow .15s}
.p-aa-rt-opt:hover{border-color:#94A3B8}
.p-aa-rt-active{border-color:#0000cc;background:#F5F7FF;box-shadow:0 0 0 3px rgba(0,0,204,.08)}
.p-aa-rt-title{font:700 13.5px/1.2 'Inter',sans-serif;color:var(--p-text1);margin-bottom:4px}
.p-aa-rt-desc{font-size:12px;color:var(--p-text3);line-height:1.4}

/* Modal — when (immediate / scheduled) toggle */
.p-aa-when-toggle{display:inline-flex;background:#F1F5F9;border:1px solid #E2E8F0;border-radius:10px;padding:3px;gap:2px;margin-top:8px}
.p-aa-when-opt{appearance:none;background:transparent;border:0;cursor:pointer;padding:8px 18px;border-radius:8px;
  font:600 13px/1 'Inter',sans-serif;color:var(--p-text2);transition:background .15s,color .15s}
.p-aa-when-opt:hover{color:var(--p-text1)}
.p-aa-when-active{background:#fff;color:#0000cc;box-shadow:0 1px 2px rgba(15,23,42,.08)}

/* Modal — grace chips active state */
.p-aa-grace-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.p-aa-chip-active{background:#0000cc !important;color:#fff !important;border-color:#0000cc !important}

.p-aa-step-label{font:700 12.5px/1 'Inter',sans-serif;color:var(--p-text1);
  text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.p-aa-help-text{font-size:12px;color:var(--p-text3);line-height:1.45}

@media (max-width:640px){
  .p-aa-rt-toggle{grid-template-columns:1fr}
  .p-aa-kind-toggle{grid-template-columns:1fr}
  .p-aa-tabs{gap:2px}
  .p-aa-tab{padding:9px 10px;font-size:12.5px}
}

/* ─── Share Front Door (spec §6, §7) ──────────────────────── */
.p-share-front{display:flex;flex-direction:column;gap:24px;margin-bottom:32px}
.p-share-front-section{display:flex;flex-direction:column}
.p-share-front-h{font-size:13px;font-weight:700;color:var(--p-text);text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}
.p-share-front-sub{font-size:13px;color:var(--p-text3);margin-bottom:14px;line-height:1.5}

.p-share-tile{display:flex;align-items:center;gap:14px;width:100%;padding:18px 20px;background:#fff;border:1px solid var(--p-border);border-radius:14px;cursor:pointer;text-align:left;transition:border-color .15s,background .15s,transform .1s}
.p-share-tile:hover{border-color:#0000cc;background:#fafbff}
.p-share-tile:active{transform:scale(.997)}
.p-share-tile-personal{}
.p-share-tile-ico{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#eef0ff;color:#0000cc;flex-shrink:0}
.p-share-tile-body{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.p-share-tile-title{font-size:15px;font-weight:600;color:var(--p-text)}
.p-share-tile-sub{font-size:12px;color:var(--p-text3)}
.p-share-tile-arrow{color:var(--p-text3);font-size:18px;flex-shrink:0}

.p-share-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.p-share-cat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:18px 8px;background:#fff;border:1px solid var(--p-border);border-radius:14px;cursor:pointer;transition:border-color .15s,background .15s,transform .1s;text-align:center;min-height:108px}
.p-share-cat:hover{border-color:#0000cc;background:#fafbff}
.p-share-cat:active{transform:scale(.98)}
.p-share-cat-ico{font-size:24px;line-height:1}
.p-share-cat-name{font-size:13px;font-weight:600;color:var(--p-text)}
.p-share-cat-count{display:inline-block;min-width:22px;padding:1px 8px;border-radius:999px;background:#f1f3f9;color:var(--p-text2);font-size:11px;font-weight:600}

@media (max-width:900px){
  .p-share-cats{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:520px){
  .p-share-cats{grid-template-columns:repeat(2,1fr)}
}

.p-asset-row{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--p-border);border-radius:12px;margin-bottom:10px;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}
.p-asset-row:hover{border-color:#0000cc;background:#fafbff}
.p-asset-row-body{flex:1;min-width:0}
.p-asset-row-title{font-size:14px;font-weight:600;color:var(--p-text)}
.p-asset-row-sub{font-size:12px;color:var(--p-text3);margin-top:2px}
.p-asset-row-arrow{color:var(--p-text3);font-size:18px}
