/* CreditEdge — light SaaS theme */

html {
  scroll-behavior: smooth;
}

[x-cloak] {
  display: none !important;
}

body {
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -30%, rgba(34, 197, 94, 0.08), transparent);
  background-attachment: fixed;
}

/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Header / Nav ── */
.app-header {
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, #22c55e, #15803d);
  color: #fff;
  box-shadow: 0 1px 2px rgba(21, 128, 61, 0.25);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.nav-link-active {
  color: #15803d !important;
  background: rgba(34, 197, 94, 0.1);
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.2);
}
.nav-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  transition: background 0.15s ease;
}
.btn-nav-primary:hover {
  background: #15803d;
}

.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.55rem 0.3rem 0.3rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-account-btn:hover {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.nav-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  width: 13.5rem;
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  z-index: 60;
}
.account-menu-item {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  font-size: 0.875rem;
  color: #334155;
}
.account-menu-item:hover {
  background: #f8fafc;
  color: #0f172a;
}
.account-menu-divider {
  height: 1px;
  margin: 0.3rem 0.4rem;
  background: #e2e8f0;
}

.nav-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  color: #334155;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.nav-mobile-toggle:hover {
  border-color: #86efac;
  color: #15803d;
}

/* Workflow strip */
.workflow-strip {
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}
.workflow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: #64748b;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.workflow-step:hover {
  color: #0f172a;
  background: #fff;
}
.workflow-step-active {
  color: #15803d !important;
  background: rgba(34, 197, 94, 0.12);
}
.workflow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #64748b;
}
.workflow-step-active .workflow-num {
  background: #16a34a;
  color: #fff;
}
.workflow-sep {
  color: #cbd5e1;
  flex-shrink: 0;
}

/* Mobile drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  top: 4rem;
  background: rgba(15, 23, 42, 0.25);
  z-index: 40;
}
.mobile-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
  z-index: 50;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
}
.mobile-nav-link:hover {
  background: #f8fafc;
  color: #0f172a;
}
.mobile-nav-link-active {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.2);
}

/* Page shell helpers */
.app-page-header {
  margin-bottom: 1.75rem;
}
.app-page-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #16a34a;
  margin-bottom: 0.35rem;
}

/* SaaS-style headings */
.font-display {
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Light cards with subtle depth */
.bg-white.border {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Form controls on light theme */
input, select, textarea {
  color-scheme: light;
}

/* Upload zone */
.upload-zone { transition: all 0.2s ease; }
.upload-zone.drag-over {
  border-color: #16a34a;
  background-color: rgba(34, 197, 94, 0.06);
}

/* Severity badges */
.severity-high { background-color: rgba(220, 38, 38, 0.1); color: #dc2626; }
.severity-medium { background-color: rgba(217, 119, 6, 0.12); color: #d97706; }
.severity-low { background-color: rgba(22, 163, 74, 0.12); color: #15803d; }
.severity-metro2 { background-color: rgba(124, 58, 237, 0.1); color: #7c3aed; }

.kanban-column { min-height: 200px; }

.letter-content {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #1e293b;
}
.letter-content h1 { font-family: 'IBM Plex Sans', sans-serif; font-size: 1rem; font-weight: 700; text-align: center; text-transform: uppercase; margin: 0.75rem 0 0.5rem; }
.letter-content h2 { font-family: 'IBM Plex Sans', sans-serif; font-size: 0.95rem; font-weight: 600; margin: 1rem 0 0.25rem; }
.letter-content h3 { font-family: 'IBM Plex Sans', sans-serif; font-size: 0.9rem; font-style: italic; text-align: center; margin: 0.25rem 0 0.75rem; color: #475569; }
.letter-content p { margin: 0.35rem 0; }
.letter-content hr { border: none; border-top: 1px solid #cbd5e1; margin: 0.75rem 0; }
.letter-content strong { font-weight: 700; color: #0f172a; }
.letter-content ul { list-style: none; padding: 0; margin: 0.5rem 0; }
.letter-content ul li { padding: 0.15rem 0; }
.letter-content ul li::before { content: "□ "; font-size: 0.85rem; color: #64748b; }
.letter-content ul li.task-list-item input[type="checkbox"] { margin-right: 0.4rem; accent-color: #16a34a; }

.score-gauge-container {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}
.score-gauge-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.status-pending {
  animation: status-pulse 2s ease-in-out infinite;
}

/* Footer */
.app-footer {
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

/* ═══════════════════════════════════════════
   Landing — CreditEdge marketing home
   ═══════════════════════════════════════════ */
.ce-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.ce-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(248,250,252,0.92) 72%, #fff 100%),
    linear-gradient(135deg, #ecfdf5 0%, #f8fafc 42%, #e2e8f0 100%);
}
.ce-hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ce-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.ce-hero-glow {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  right: -12%;
  top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22), transparent 68%);
  animation: ce-drift 12s ease-in-out infinite alternate;
}
@keyframes ce-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.06); }
}

.ce-hero-mock {
  position: absolute;
  right: max(4%, calc((100% - 1120px) / 2));
  top: 18%;
  width: min(380px, 42vw);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(8px);
  animation: ce-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes ce-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.ce-mock-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.ce-mock-bar span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #cbd5e1;
}
.ce-mock-bar span:first-child { background: #86efac; }
.ce-mock-body { padding: 1.1rem 1.15rem 1.25rem; }
.ce-mock-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.ce-mock-value {
  margin-top: 0.2rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.ce-mock-meter {
  margin-top: 0.75rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.ce-mock-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #16a34a, #4ade80);
  animation: ce-meter 1.4s ease-out 0.4s both;
}
@keyframes ce-meter {
  from { width: 0 !important; }
}
.ce-mock-rows { margin-top: 1rem; display: grid; gap: 0.45rem; }
.ce-mock-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  font-size: 0.8rem;
}
.ce-mock-row b { color: #0f172a; font-weight: 600; }
.ce-mock-row span { color: #64748b; white-space: nowrap; }
.ce-mock-row.is-ok span { color: #15803d; }
.ce-mock-row.is-flag span { color: #b45309; }

.ce-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7.5rem 0 4.5rem;
  max-width: 36rem;
}
.ce-brand-mark-text {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #0f172a;
  margin: 0 0 1rem;
}
.ce-hero-title {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}
.ce-hero-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 1.6rem;
  max-width: 34ch;
}
.ce-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ce-fade-up {
  animation: ce-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ce-delay-1 { animation-delay: 90ms; }
.ce-delay-2 { animation-delay: 170ms; }
.ce-delay-3 { animation-delay: 250ms; }

.ce-btn-primary,
.ce-btn-outline,
.ce-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.ce-btn-primary {
  background: #16a34a;
  color: #fff;
}
.ce-btn-primary:hover {
  background: #15803d;
  transform: translateY(-1px);
}
.ce-btn-outline {
  border: 1px solid #16a34a;
  color: #15803d;
  background: #fff;
}
.ce-btn-outline:hover {
  background: #f0fdf4;
}
.ce-btn-ghost {
  border: 1px solid #e2e8f0;
  color: #334155;
  background: rgba(255,255,255,0.75);
}
.ce-btn-ghost:hover {
  border-color: #bbf7d0;
  color: #15803d;
}
.ce-link {
  color: #15803d;
  font-weight: 600;
  font-size: 0.95rem;
}
.ce-link:hover { text-decoration: underline; }

.ce-section {
  padding: 5rem 0;
}
.ce-section-soft {
  background: #f8fafc;
  border-block: 1px solid #eef2f7;
}
.ce-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16a34a;
  margin: 0 0 0.55rem;
}
.ce-section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 0.65rem;
  max-width: 18ch;
}
.ce-section-sub {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 2.25rem;
  max-width: 46ch;
}

.ce-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.ce-step {
  padding: 0.25rem 0.15rem;
}
.ce-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: #dcfce7;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.ce-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
}
.ce-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
}

.ce-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.ce-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.ce-points li {
  padding: 1rem 0;
  border-top: 1px solid #e2e8f0;
}
.ce-points li:last-child {
  border-bottom: 1px solid #e2e8f0;
}
.ce-points strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.ce-points span {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.5;
}

.ce-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.ce-price {
  position: relative;
  padding: 1.5rem 1.35rem 1.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.ce-price-featured {
  border-color: #86efac;
  box-shadow: 0 10px 30px rgba(22, 163, 74, 0.08);
}
.ce-price-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #15803d;
  background: #dcfce7;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
}
.ce-price h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}
.ce-price-tag {
  margin: 0 0 0.65rem;
  color: #64748b;
  font-size: 0.95rem;
}
.ce-price-tag span {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #0f172a;
  margin-right: 0.15rem;
}
.ce-price-desc {
  margin: 0 0 1.1rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 3.6em;
}
.ce-price ul {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}
.ce-price li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #334155;
}
.ce-price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #16a34a;
}
.ce-price .ce-btn-primary,
.ce-price .ce-btn-outline {
  width: 100%;
}
.ce-postage-note {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
  max-width: 52ch;
}

.ce-trust .ce-section-title { max-width: 16ch; }
.ce-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.ce-closing {
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(34, 197, 94, 0.16), transparent 60%),
    #fff;
  text-align: center;
}
.ce-closing .ce-brand-mark-text {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}
.ce-closing h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -0.03em;
  color: #0f172a;
}
.ce-closing p {
  margin: 0 auto 1.5rem;
  max-width: 38ch;
  color: #64748b;
  line-height: 1.55;
}

.ce-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.ce-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .ce-hero-mock { display: none; }
  .ce-hero-content {
    max-width: 40rem;
    padding-top: 5.5rem;
  }
  .ce-steps { grid-template-columns: 1fr 1fr; }
  .ce-split,
  .ce-price-grid { grid-template-columns: 1fr; }
  .ce-price-desc { min-height: 0; }
}
@media (max-width: 560px) {
  .ce-steps { grid-template-columns: 1fr; }
  .ce-hero-title { max-width: none; }
}

/* ── UX audit: status badges, focus, mobile tables ── */
.ce-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.ce-badge-muted { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; }
.ce-badge-ready { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.ce-badge-submitted { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.ce-badge-pending { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.ce-badge-resolved { background: #ecfdf5; color: #15803d; border-color: #bbf7d0; }
.ce-badge-danger { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.ce-badge-escalated { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }

.ce-next-card {
  background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(255,255,255,1));
  border: 1px solid rgba(22,163,74,0.25);
}

.ce-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.ce-drawer-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.4); }
.ce-drawer-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(480px, 100%);
  background: #fff;
  box-shadow: -8px 0 32px rgba(15,23,42,0.12);
  overflow-y: auto;
}

@media (max-width: 768px) {
  .ce-table-cards thead { display: none; }
  .ce-table-cards tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
  }
  .ce-table-cards tbody td {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0 !important;
    border: none !important;
  }
  .ce-table-cards tbody td::before {
    content: attr(data-label);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
    margin-right: 1rem;
  }
}

input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

.ce-celebrate {
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
  border: 1px solid #bbf7d0;
}

/* Guidance panels */
.ce-guidance-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
}
.ce-guidance-strategy {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #334155;
}
.ce-guidance-strategy h1, .ce-guidance-strategy h2, .ce-guidance-strategy h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  color: #0f172a;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.ce-timeline-step {
  position: relative;
  padding-left: 1.75rem;
}
.ce-timeline-step::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  background: #fff;
}
.ce-timeline-step.complete::before { background: #16a34a; border-color: #16a34a; }
.ce-timeline-step.current::before { background: #16a34a; border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.2); }
.ce-onboard-step.complete { border-color: #bbf7d0; background: #fafdfa; }
.ce-onboard-step.current { border-color: #86efac; background: #fff; box-shadow: 0 0 0 1px rgba(22,163,74,0.08); }
.ce-onboard-step.pending { border-color: #e2e8f0; background: #fff; }
.ce-timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  top: 1rem;
  bottom: -0.5rem;
  width: 2px;
  background: #e2e8f0;
}

/* ── Page workflow + account action cards ── */
.ce-page-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  color: #64748b;
}
.ce-page-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}
.ce-page-flow-step.is-current {
  color: #15803d;
}
.ce-page-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #64748b;
}
.ce-page-flow-step.is-current .ce-page-flow-num {
  background: #16a34a;
  color: #fff;
}

.ce-account-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ce-account-card:hover {
  border-color: #bbf7d0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.ce-account-card.is-started {
  opacity: 0.92;
  background: #fafafa;
}
.ce-account-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.ce-account-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}
.ce-guidance-snippet {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

/* AI chat — rendered markdown in assistant bubbles */
.ce-chat-markdown {
  font-size: 0.8125rem;
  line-height: 1.55;
  word-break: break-word;
}
.ce-chat-markdown > *:first-child { margin-top: 0; }
.ce-chat-markdown > *:last-child { margin-bottom: 0; }
.ce-chat-markdown h1,
.ce-chat-markdown h2,
.ce-chat-markdown h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  color: #0f172a;
  margin: 0.85rem 0 0.4rem;
  line-height: 1.3;
}
.ce-chat-markdown h1 { font-size: 1rem; }
.ce-chat-markdown h2 { font-size: 0.9375rem; }
.ce-chat-markdown h3 { font-size: 0.875rem; }
.ce-chat-markdown p { margin: 0.45rem 0; }
.ce-chat-markdown strong { font-weight: 600; color: #0f172a; }
.ce-chat-markdown hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0.65rem 0;
}
.ce-chat-markdown ul,
.ce-chat-markdown ol {
  margin: 0.4rem 0 0.5rem;
  padding-left: 1.15rem;
}
.ce-chat-markdown ul { list-style: disc; }
.ce-chat-markdown ol { list-style: decimal; }
.ce-chat-markdown li { margin: 0.2rem 0; }
.ce-chat-markdown li > ul,
.ce-chat-markdown li > ol { margin-top: 0.2rem; }
.ce-chat-markdown table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  margin: 0.5rem 0;
  display: block;
  overflow-x: auto;
}
.ce-chat-markdown th,
.ce-chat-markdown td {
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.5rem;
  text-align: left;
  vertical-align: top;
}
.ce-chat-markdown th {
  background: #f8fafc;
  font-weight: 600;
  color: #334155;
}
.ce-chat-markdown code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  background: #f1f5f9;
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
}
.ce-chat-markdown blockquote {
  border-left: 3px solid #bbf7d0;
  padding-left: 0.65rem;
  margin: 0.5rem 0;
  color: #475569;
}

/* ════════════════════════════════════════════════════════════
   LANDING PAGE v2 — redesigned sections
   ════════════════════════════════════════════════════════════ */

/* ── Hero dark ── */
.ce-hero-v2 {
  position: relative;
  background: #0f172a;
  overflow: hidden;
  padding: 5.5rem 0 4rem;
}
@media (min-width: 900px) {
  .ce-hero-v2 { padding: 7.5rem 0 5.5rem; }
}
.ce-hero-v2-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ce-hero-v2-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, #000 20%, transparent 75%);
}
.ce-hero-v2-glow {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.16) 0%, transparent 65%);
  right: -20%;
  top: -25%;
  animation: ce-drift 14s ease-in-out infinite alternate;
}
.ce-hero-v2-glow-2 {
  position: absolute;
  width: 35vmax;
  height: 35vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 60%);
  left: -8%;
  bottom: -10%;
}
.ce-hero-v2-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .ce-hero-v2-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.ce-kicker-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #86efac;
  margin: 0 0 1.1rem;
}
.ce-kicker-dark-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: ce-pulse-dot 2s ease-in-out infinite;
}
@keyframes ce-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.ce-hero-v2-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}
.ce-hero-v2-title em {
  font-style: italic;
  color: #86efac;
}
.ce-hero-v2-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0 0 2rem;
  max-width: 40ch;
}
.ce-hero-v2-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ce-btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.5rem;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  font-size: 0.975rem;
  border-radius: 0.75rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(22,163,74,0.35);
}
.ce-btn-primary-lg:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
}
.ce-btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.5rem;
  background: transparent;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.975rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.ce-btn-ghost-dark:hover {
  border-color: #86efac;
  color: #86efac;
}
.ce-hero-v2-note {
  font-size: 0.8rem;
  color: #475569;
  margin: 0;
}

/* Hero mock UI */
.ce-hero-v2-visual {
  display: flex;
  justify-content: center;
  order: -1;
}
@media (min-width: 900px) {
  .ce-hero-v2-visual {
    order: 0;
    justify-content: flex-end;
  }
}
.ce-hero-v2-mock {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
  font-size: 0.8125rem;
}
.ce-mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.ce-mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.ce-mock-dot:nth-child(1) { background: #f87171; }
.ce-mock-dot:nth-child(2) { background: #fbbf24; }
.ce-mock-dot:nth-child(3) { background: #34d399; }
.ce-mock-chrome-title {
  margin-left: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.03em;
}
.ce-mock-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #e2e8f0;
}
.ce-mock-score-tile {
  padding: 0.7rem 0.5rem;
  text-align: center;
  border-right: 1px solid #e2e8f0;
}
.ce-mock-score-tile:last-child { border-right: none; }
.ce-mock-bureau-name {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin: 0 0 0.15rem;
}
.ce-mock-bureau-score {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.3rem;
  font-weight: 500;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.03em;
}
.ce-mock-items {
  padding: 0.5rem 0;
}
.ce-mock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  gap: 0.5rem;
  transition: background 0.1s;
}
.ce-mock-item:hover { background: #f8fafc; }
.ce-mock-item-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.ce-mock-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ce-mock-status-dot.red { background: #ef4444; }
.ce-mock-status-dot.green { background: #22c55e; }
.ce-mock-status-dot.amber { background: #f59e0b; }
.ce-mock-item-name {
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  font-size: 0.77rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ce-mock-item-sub {
  font-size: 0.67rem;
  color: #94a3b8;
  margin: 0;
}
.ce-mock-tag {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.ce-mock-tag.dispute { background: #fee2e2; color: #b91c1c; }
.ce-mock-tag.ok { background: #dcfce7; color: #15803d; }
.ce-mock-ai-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
  font-size: 0.74rem;
  color: #15803d;
}
.ce-mock-ai-icon { flex-shrink: 0; color: #16a34a; }
.ce-mock-ai-bar strong { font-weight: 700; }

/* ── Stat strip ── */
.ce-stat-strip {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}
.ce-stat-strip-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0;
}
@media (min-width: 640px) {
  .ce-stat-strip-inner { grid-template-columns: repeat(4, 1fr); }
}
.ce-stat-item {
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-right: 1px solid #e2e8f0;
}
.ce-stat-item:last-child { border-right: none; }
@media (max-width: 639px) {
  .ce-stat-item:nth-child(2) { border-right: none; }
  .ce-stat-item:nth-child(3) { border-top: 1px solid #e2e8f0; }
  .ce-stat-item:nth-child(4) { border-top: 1px solid #e2e8f0; border-right: none; }
}
.ce-stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: #16a34a;
  line-height: 1;
  margin: 0 0 0.2rem;
}
.ce-stat-label {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ── AI Showcase ── */
.ce-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .ce-feature-grid { grid-template-columns: repeat(3, 1fr); } }
.ce-feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ce-feature-card:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}
.ce-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #16a34a;
}
.ce-feature-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
}
.ce-feature-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
.ce-ai-callout {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #15803d;
}
.ce-ai-callout svg { flex-shrink: 0; color: #16a34a; }

/* ── Steps v2 (with icons + connectors) ── */
.ce-steps-v2 {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .ce-steps-v2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: start;
    position: relative;
  }
  .ce-steps-v2::before {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(12.5% + 0.5rem);
    right: calc(12.5% + 0.5rem);
    height: 2px;
    background: linear-gradient(90deg, #bbf7d0, #16a34a, #bbf7d0);
    z-index: 0;
  }
}
.ce-step-v2 {
  position: relative;
  padding: 0 0.75rem;
  text-align: center;
}
.ce-step-icon-wrap {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  box-shadow: 0 0 0 6px #f0fdf4, 0 0 0 7px #bbf7d0;
}
@media (max-width: 767px) {
  .ce-step-v2 { display: flex; gap: 1rem; text-align: left; align-items: flex-start; }
  .ce-steps-v2::before { display: none; }
  .ce-step-icon-wrap { flex-shrink: 0; margin: 0; }
}
.ce-step-v2-body {}
.ce-step-v2-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #16a34a;
  margin: 0 0 0.2rem;
}
.ce-step-v2 h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem;
}
.ce-step-v2 p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* ── Testimonials ── */
.ce-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) { .ce-testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.ce-testimonial {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.ce-testimonial-quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  line-height: 0.9;
  color: #bbf7d0;
  margin-bottom: 0.5rem;
  user-select: none;
}
.ce-testimonial-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 1.25rem;
  flex: 1;
}
.ce-score-change {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
}
.ce-score-before {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
}
.ce-score-arrow {
  color: #22c55e;
  font-size: 1rem;
  line-height: 1;
}
.ce-score-after {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
}
.ce-score-label { font-size: 0.72rem; color: #94a3b8; }
.ce-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}
.ce-testimonial-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
  margin: 0;
}
.ce-testimonial-context {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
}
.ce-testimonials-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 60ch;
}

/* ── Pricing v2 — adds comparison table ── */
.ce-compare-toggle {
  margin-top: 1.75rem;
  text-align: center;
}
.ce-compare-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}
.ce-compare-toggle button:hover { background: #f0fdf4; }
.ce-compare-table {
  margin-top: 1rem;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.ce-compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.ce-compare-table th {
  background: #f8fafc;
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
}
.ce-compare-table th:not(:first-child) { text-align: center; }
.ce-compare-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.ce-compare-table td:not(:first-child) { text-align: center; }
.ce-compare-table tr:last-child td { border-bottom: none; }
.ce-compare-table tr:hover td { background: #f8fafc; }
.ce-compare-check { color: #16a34a; font-size: 0.95rem; }
.ce-compare-x { color: #cbd5e1; }
.ce-compare-td-feat { color: #475569; }

/* ── FAQ ── */
.ce-faq-list {
  margin-top: 2.5rem;
  max-width: 680px;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
.ce-faq-item {
  border-bottom: 1px solid #e2e8f0;
}
.ce-faq-item:last-child { border-bottom: none; }
.ce-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.925rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.15s;
}
.ce-faq-q:hover { background: #f8fafc; }
.ce-faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 0.25s;
}
.ce-faq-chevron.open { transform: rotate(180deg); }
.ce-faq-a {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #475569;
}
.ce-faq-a p { margin: 0 0 0.5rem; }
.ce-faq-a p:last-child { margin-bottom: 0; }
.ce-faq-a strong { color: #0f172a; }

/* ── CROA v2 (expanded, 3-column) ── */
.ce-croa-v2 {
  background: #0f172a;
  padding: 5rem 0;
}
.ce-croa-v2-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.6rem;
  max-width: 22ch;
  line-height: 1.2;
}
.ce-croa-v2-sub {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0 0 3rem;
  max-width: 44ch;
  line-height: 1.6;
}
.ce-croa-v2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .ce-croa-v2-grid { grid-template-columns: repeat(3, 1fr); } }
.ce-croa-v2-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.875rem;
  padding: 1.35rem;
}
.ce-croa-v2-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.625rem;
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(34,197,94,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: #22c55e;
}
.ce-croa-v2-item h3 {
  font-size: 0.925rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.4rem;
}
.ce-croa-v2-item p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
.ce-croa-v2-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.ce-croa-v2-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #86efac;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.ce-croa-v2-link:hover { color: #4ade80; text-decoration: underline; }
.ce-croa-v2-note {
  font-size: 0.8rem;
  color: #475569;
}

/* ── Landing footer (dark, rich) ── */
.ce-footer-dark {
  background: #0a0f1e;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 0;
  color: #64748b;
  font-size: 0.875rem;
}
.ce-footer-grid {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 768px) {
  .ce-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .ce-footer-grid { grid-template-columns: 1fr; }
}
.ce-footer-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ce-footer-brand-mark {
  width: 20px;
  height: 20px;
  background: #16a34a;
  border-radius: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ce-footer-tagline {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 1rem;
  max-width: 24ch;
}
.ce-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.ce-footer-col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 0.9rem;
}
.ce-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ce-footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.ce-footer-links a:hover { color: #22c55e; }
.ce-footer-bottom {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #475569;
}

/* ── Landing-specific section-title override: uses serif ── */
.ce-landing-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0 0 0.65rem;
  max-width: 22ch;
  line-height: 1.2;
}

@media (max-width: 560px) {
  .ce-hero-v2-mock { border-radius: 0.875rem; }
  .ce-hero-v2 { padding: 4rem 0 3rem; }
}

/* ═══════════════════════════════════════════
   BK Suite — Pre-Qualification & Roadmap
   ═══════════════════════════════════════════ */

.bk-input {
  padding: 0.6rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  color: #0f172a;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bk-input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.bk-radio-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.bk-radio-option:hover {
  border-color: #bbf7d0;
  background: #fafdfb;
}
.bk-radio-option-active {
  border-color: #16a34a !important;
  background: #f0fdf4 !important;
  box-shadow: 0 0 0 1px #16a34a;
}
.bk-radio-input {
  margin-top: 0.15rem;
  accent-color: #16a34a;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.bk-toggle-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}
.bk-toggle-btn:hover {
  border-color: #bbf7d0;
  color: #15803d;
}
.bk-toggle-btn-active {
  border-color: #16a34a !important;
  background: #f0fdf4 !important;
  color: #15803d !important;
  box-shadow: 0 0 0 1px #16a34a;
  font-weight: 600;
}

.bk-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.bk-btn-primary:hover { background: #15803d; transform: translateY(-1px); }
.bk-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.bk-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.bk-btn-secondary:hover { border-color: #bbf7d0; color: #15803d; }

/* ── AI Analysis Banner ── */
.bk-ai-banner {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  border-radius: 0.875rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

/* ── AI Insight boxes inside milestone cards ── */
.bk-ai-insight {
  padding: 0.75rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: 0.5rem;
}

/* ── FICO Gauge ── */
.bk-gauge-wrap {
  position: relative;
  max-width: 160px;
}
.bk-gauge-score {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1;
}

/* ── Task items (upgraded checkboxes) ── */
.bk-task-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
}
.bk-task-item:hover { background: #f8fafc; }
.bk-task-item-done { opacity: 0.7; }
.bk-task-checkbox {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  accent-color: #16a34a;
  flex-shrink: 0;
  cursor: pointer;
}

/* ── Action plan cards ── */
.bk-action-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.bk-action-card:hover {
  border-color: #bbf7d0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.bk-action-priority {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  margin-bottom: 0.15rem;
}

/* ── Timeline (upgraded) ── */
.bk-timeline {
  position: relative;
  padding-left: 0;
}
.bk-timeline-item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
}
.bk-timeline-item:last-child { padding-bottom: 0; }

.bk-timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 1.75rem;
}
.bk-timeline-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  background: #fff;
  flex-shrink: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.bk-timeline-dot-past {
  background: #16a34a;
  border-color: #16a34a;
}
.bk-timeline-dot-current {
  background: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  animation: bk-pulse-ring 2s ease-in-out infinite;
}
@keyframes bk-pulse-ring {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.08); }
}
.bk-timeline-dot-future {
  border-color: #e2e8f0;
  background: #fff;
}
.bk-timeline-dot-milestone {
  width: 1.5rem;
  height: 1.5rem;
}
.bk-timeline-line {
  width: 2px;
  flex: 1;
  background: #e2e8f0;
  margin-top: 0.25rem;
  transition: background 0.3s;
}
.bk-timeline-line-done {
  background: #16a34a;
}
.bk-timeline-content {
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bk-timeline-content-active {
  border-color: #86efac;
  background: linear-gradient(135deg, #f0fdf4, #fff);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
}
.bk-timeline-item-past .bk-timeline-content {
  opacity: 0.85;
  background: #fafdfb;
}
.bk-timeline-item-future .bk-timeline-content {
  border-style: dashed;
}
.bk-timeline-content:hover {
  border-color: #bbf7d0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* ═══════════════════════════════════════════
   Print Stylesheet — BK Suite Roadmap PDF
   ═══════════════════════════════════════════ */
@media print {
  .app-header,
  .app-footer,
  .workflow-strip,
  #ce-ai-chat-root,
  #ce-toast-root,
  #ce-confirm-root,
  #ce-presend-root,
  .print\\:hidden,
  [x-cloak] {
    display: none !important;
  }

  body {
    background: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .bk-roadmap-container {
    max-width: 100% !important;
  }

  .bk-timeline-content {
    break-inside: avoid;
  }

  .bk-btn-primary,
  .bk-btn-secondary {
    display: none !important;
  }

  a { text-decoration: none !important; color: inherit !important; }
}
