:root {
  --bg:        #ffffff;
  --bg-2:      #f6f7fb;
  --bg-soft:   #eef2ff;
  --bg-card:   #ffffff;
  --text:      #334155;
  --text-hi:   #111827;
  --muted:     #64748b;
  --line:      rgba(15, 23, 42, 0.12);
  --line-acc:  rgba(79, 70, 229, 0.28);

  --purple:    #7c3aed;
  --violet:    #4f46e5;
  --green:     #16a34a;
  --pink:      #a855f7;
  --grad:      linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --grad-text: linear-gradient(140deg, #4f46e5 0%, #7c3aed 100%);

  --glow:      0 22px 52px rgba(79, 70, 229, 0.18);
  --glow-sm:   0 14px 30px rgba(79, 70, 229, 0.14);
  --shadow:    0 24px 58px rgba(15, 23, 42, 0.12);
  --radius:    8px;
  --max:       1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }

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

p, h1, h2, h3 { margin-top: 0; }
p { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

/* ── Accessibility ── */
.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 20;
  width: auto; height: auto;
  padding: 10px 16px;
  clip: auto;
  color: var(--text-hi);
  background: var(--bg-2);
  border: 1px solid var(--line-acc);
  border-radius: var(--radius);
}

/* ── Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-hi);
}

.brand-mark {
  width: 40px; height: 40px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.22);
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 1rem; line-height: 1.1; }
.brand small  { color: var(--muted); font-size: 0.78rem; line-height: 1.2; }

.site-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-menu a { position: relative; padding: 8px 0; }

.site-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 1.5px;
  background: var(--violet);
  transition: right 180ms ease;
}
.site-menu a:hover::after,
.site-menu a:focus-visible::after { right: 0; }

.nav-demo-btn {
  flex-shrink: 0;
  min-height: 30px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.22);
  transition: box-shadow 170ms ease, transform 170ms ease;
}
.nav-demo-btn:hover,
.nav-demo-btn:focus-visible {
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
  transform: translateY(-1px);
}

.menu-toggle {
  width: 44px; height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 18px; height: 1.5px;
  display: block;
  background: var(--text-hi);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after  { top:  6px; }
.menu-toggle[aria-expanded="true"] .menu-lines { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(90deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::after  { opacity: 0; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
  color: var(--text-hi);
  background:
    radial-gradient(ellipse at 18% 55%, rgba(34, 197, 94, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse at 78% 20%, rgba(124, 58, 237, 0.2) 0%, transparent 48%),
    linear-gradient(135deg, #312e81 0%, #4f46e5 50%, #7c3aed 100%);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 60% center;
  z-index: -3;
  opacity: 1;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(30,27,75,0.95) 0%, rgba(49,46,129,0.82) 35%, rgba(79,70,229,0.38) 64%, rgba(124,58,237,0.1) 100%),
    linear-gradient(180deg, rgba(30,27,75,0.06), rgba(30,27,75,0.28));
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 60px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--violet);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.18);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 850;
  color: #ffffff;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.hero .eyebrow {
  color: #dcfce7;
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(34, 197, 94, 0.3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ── Buttons ── */
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, border-color 170ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button.primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.22);
}
.button.primary:hover,
.button.primary:focus-visible { box-shadow: 0 18px 38px rgba(79, 70, 229, 0.28); }

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
}

/* ── Hero metrics bar ── */
.hero-metrics {
  width: min(900px, 100%);
  margin: 60px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-metrics div { padding: 22px 24px; }
.hero-metrics div + div { border-left: 1px solid var(--line); }

.hero-metrics dt {
  color: #dcfce7;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

/* ── Sections ── */
.section { padding: 96px 0; }

.section-grid,
.section-heading,
.offer-grid,
.proof-layout,
.niche-strip,
.process-list,
.audit-section,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.section h2 {
  color: var(--text-hi);
  margin-bottom: 18px;
  font-size: 2.2rem;
  line-height: 1.08;
  font-weight: 800;
}

.lead-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 780px;
  text-align: center;
}
.section-heading.left {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.section-heading p { color: var(--muted); }

/* ── Intro ── */
.intro-section {
  background:
    radial-gradient(ellipse at 90% 80%, rgba(79,70,229,0.06) 0%, transparent 55%),
    var(--bg);
}

/* ── Offers ── */
.offers-section {
  background:
    radial-gradient(ellipse at 10% 30%, rgba(124,58,237,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(22,163,74,0.05) 0%, transparent 48%),
    var(--bg-2);
}

.offer-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.offer-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.offer-card:hover {
  border-color: var(--line-acc);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

.offer-card h3 {
  color: var(--text-hi);
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.22;
}
.offer-card p {
  color: var(--muted);
  font-size: 0.85rem;
}

.offer-card ul {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.offer-card li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-size: 0.82rem;
}
.card-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.02em;
  transition: gap 160ms ease, color 160ms ease;
}
.card-demo-link:hover {
  color: var(--text-hi);
  gap: 8px;
}

.offer-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: none;
}


/* ── Proof ── */
.proof-section {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(79,70,229,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 20%, rgba(22,163,74,0.04) 0%, transparent 45%),
    var(--bg);
}

.proof-section .section-kicker { /* uses global kicker styles */ }
.proof-section h2 { color: var(--text-hi); }
.proof-section .section-heading p { color: var(--muted); }

.proof-layout {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
}

.proof-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: border-color 200ms ease;
}
.proof-panel.accent {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(124, 58, 237, 0.08));
  border-color: var(--line-acc);
  box-shadow: var(--glow-sm);
}

.proof-panel h3 {
  color: var(--text-hi);
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.proof-panel p { color: var(--muted); }

.niche-strip {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ai-tools-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: 28px auto 0;
}
.ai-tools-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 12px;
}
.ai-tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-tools-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: border-color 180ms ease, background 180ms ease;
}
.ai-tools-list li:hover {
  border-color: var(--line-acc);
  background: rgba(79,70,229,0.05);
  color: var(--text-hi);
}
.ai-tools-list li img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: contain;
}
.ai-tools-more {
  color: var(--muted) !important;
  border-color: var(--line) !important;
  background: transparent !important;
  font-style: italic;
}

.niche-strip li {
  padding: 7px 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 0.87rem;
}

/* ── Process ── */
.process-section {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(79,70,229,0.06) 0%, transparent 55%),
    var(--bg-2);
}

.process-list {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-list li {
  min-height: 190px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.process-list li:hover {
  border-color: var(--line-acc);
  box-shadow: var(--glow-sm);
}

.process-list span {
  display: block;
  color: var(--violet);
  margin-bottom: 14px;
  font-size: 1.06rem;
  font-weight: 900;
}
.process-list p { color: var(--muted); }

/* ── Audit CTA ── */
.audit-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
  background: var(--bg);
  padding: 96px 0;
}

.audit-content { max-width: 620px; }
.audit-content p:not(.section-kicker) {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.04rem;
}

.audit-list { display: grid; gap: 12px; }
.audit-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: border-color 200ms ease;
}
.audit-list li:hover { border-color: var(--line-acc); }

.audit-list strong {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  font-weight: 900;
}
.audit-list span {
  padding: 16px;
  color: var(--text);
  font-weight: 650;
}

/* ── Contact ── */
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section.contact-outer {
  background:
    radial-gradient(ellipse at 8%  30%, rgba(79, 70, 229, 0.08) 0%, transparent 48%),
    radial-gradient(ellipse at 78% 18%, rgba(22, 163, 74, 0.06) 0%, transparent 40%),
    var(--bg-soft);
}

.contact-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.04rem;
}
.contact-copy a {
  color: var(--purple);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text-hi);
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text-hi);
  background: #ffffff;
  font: inherit;
  transition: border-color 170ms ease, box-shadow 170ms ease;
}
.contact-form textarea { resize: vertical; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.form-note {
  color: var(--muted);
  font-size: 0.87rem;
}

/* ── Footer ── */
footer {
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 56px 0 36px;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) 0.8fr 0.9fr;
  gap: 48px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-brand { max-width: 440px; }
.footer-logo { color: #ffffff; margin-bottom: 16px; }
.footer-logo small { color: rgba(255, 255, 255, 0.58); }

.site-footer p,
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.62); }

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-column h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-column a,
.footer-bottom a { color: rgba(255, 255, 255, 0.68); }
.footer-column a:hover,
.footer-column a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible { color: #ffffff; }

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero h1 { font-size: 2.5rem; }
  .section h2 { font-size: 1.9rem; }

  .section-grid,
  .audit-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
  }

  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .proof-layout  { grid-template-columns: 1fr; }
  .site-footer   { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-shell { min-height: 64px; }
  .menu-toggle { display: grid; }
  .nav-demo-btn { display: none; }

  .site-menu {
    position: fixed;
    top: 64px; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 22px;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(20px);
  }
  .site-menu.is-open { display: flex; }
  .site-menu a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero { min-height: 86svh; }
  .hero-image {
    object-position: 55% center;
    opacity: 0.82;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(30,27,75,0.9) 0%, rgba(49,46,129,0.74) 48%, rgba(79,70,229,0.38) 100%),
      linear-gradient(90deg, rgba(30,27,75,0.68), rgba(124,58,237,0.14));
  }
  .hero-content { padding: 60px 0 44px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-copy { font-size: 0.95rem; }

  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics div + div { border-left: 0; border-top: 1px solid var(--line); }

  .section { padding: 72px 0; }
  .audit-section { padding: 72px 0; }
  .contact-outer  { padding: 72px 0; }

  .offer-grid,
  .process-list { grid-template-columns: 1fr; }

  .site-footer { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .nav-shell,
  .hero-content,
  .section-grid,
  .section-heading,
  .offer-grid,
  .proof-layout,
  .niche-strip,
  .process-list,
  .audit-section,
  .site-footer,
  .footer-bottom { width: min(100% - 28px, var(--max)); }

  .brand small { display: none; }
  .hero h1 { font-size: 1.75rem; }
  .section h2 { font-size: 1.55rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }

  .offer-card .card-content,
  .proof-panel,
  .process-list li,
  .contact-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ── Card previews ── */
.offer-card {
  padding: 0;
  overflow: hidden;
}

.offer-card--wide {
  grid-column: span 1;
}

.card-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.card-preview {
  height: clamp(150px, 15vw, 188px);
  width: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.card-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}

/* Shared chrome bar */
.cp-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(248,250,252,0.9);
  flex-shrink: 0;
}
.cp-dots { display: flex; gap: 4px; }
.cp-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(15,23,42,0.16);
}
.cp-dots span:first-child  { background: #ff5f57; }
.cp-dots span:nth-child(2) { background: #febc2e; }
.cp-dots span:last-child   { background: #28c840; }
.cp-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}
.cp-tag {
  margin-left: auto;
  font-size: 0.66rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.cp-tag.accent {
  color: var(--violet);
  border-color: var(--line-acc);
  background: rgba(79,70,229,0.07);
}

/* ── 01 SCORM Preview ── */
.cp-slide {
  flex: 1;
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-slide-hed {
  height: 10px;
  width: 55%;
  border-radius: 4px;
  background: rgba(79,70,229,0.24);
}
.cp-lines { display: grid; gap: 5px; }
.cp-lines span {
  height: 6px;
  border-radius: 3px;
  background: rgba(15,23,42,0.1);
}
.cp-lines span.s { width: 60%; }

.cp-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 10px;
  flex-shrink: 0;
}
.cp-prog-bar {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(15,23,42,0.1);
  overflow: hidden;
}
.cp-prog-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
}
.cp-pct { font-size: 0.68rem; color: var(--violet); font-weight: 700; }

/* ── 02 Gamified Preview ── */
.cp-scenario {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-question {
  font-size: 0.72rem;
  color: var(--text);
  font-weight: 600;
}
.cp-choices { display: grid; gap: 6px; }
.cp-choice {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.68rem;
  color: var(--muted);
  background: #ffffff;
}
.cp-choice.active {
  border-color: var(--line-acc);
  background: rgba(79,70,229,0.06);
  color: var(--violet);
  font-weight: 700;
}

/* ── 03 Video Preview ── */
.cp-player {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 14px;
  padding: 8px 14px 4px;
}
.cp-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79,70,229,0.34), rgba(124,58,237,0.26));
  border: 2px solid var(--line-acc);
  flex-shrink: 0;
}
.cp-play-btn {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  box-shadow: var(--glow-sm);
}
.cp-vtypes {
  display: flex;
  gap: 6px;
  padding: 0 14px 4px;
  flex-shrink: 0;
}
.cp-vtypes span {
  font-size: 0.62rem;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.cp-vtypes span.on {
  border-color: var(--line-acc);
  color: var(--violet);
  background: rgba(79,70,229,0.06);
}
.cp-timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 10px;
  flex-shrink: 0;
}
.cp-tl-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(15,23,42,0.1);
  overflow: hidden;
}
.cp-tl-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
}
.cp-timeline > span { font-size: 0.65rem; color: var(--muted); }

/* ── 04 Bite-Sized Preview ── */
.cp-flashcard {
  flex: 1;
  margin: 10px 14px;
  border: 1px solid var(--line-acc);
  border-radius: 8px;
  background: rgba(79,70,229,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cp-fc-q {
  padding: 8px 10px;
  font-size: 0.7rem;
  color: var(--text-hi);
  font-weight: 600;
  flex: 1;
  display: flex;
  align-items: center;
}
.cp-fc-divider {
  height: 1px;
  background: var(--line);
}
.cp-fc-a {
  padding: 8px 10px;
  font-size: 0.66rem;
  color: var(--violet);
  flex: 1;
  display: flex;
  align-items: center;
}

/* ── 05 Rebuild Preview ── */
.cp-rebuild {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
}
.cp-rb-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cp-rb-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 1rem;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}
.cp-rb-icon.old { color: #febc2e; border-color: rgba(254,188,46,0.3); }
.cp-rb-icon.new {
  color: var(--green);
  border-color: rgba(22,163,74,0.24);
  background: rgba(22,163,74,0.08);
}
.cp-rb-bars { display: grid; gap: 4px; width: 100%; }
.cp-rb-bars span {
  height: 5px;
  border-radius: 3px;
  background: rgba(15,23,42,0.1);
}
.cp-rb-bars span.s { width: 65%; }
.cp-rb-bars.new span { background: rgba(79,70,229,0.22); }
.cp-rb-bars.new span.s { width: 75%; }
.cp-rb-label { font-size: 0.66rem; color: var(--muted); }
.cp-rb-label.new { color: var(--violet); }
.cp-rb-arrow {
  font-size: 1.2rem;
  color: var(--violet);
  flex-shrink: 0;
}

/* ── Human / Midas Touch section ── */
.human-section {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(79,70,229,0.06) 0%, transparent 65%),
    var(--bg);
}

.human-flow {
  display: flex;
  align-items: stretch;
  margin-top: 52px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  overflow-x: auto;
  padding-bottom: 4px;
  gap: 0;
}

.role-card {
  flex: 1;
  min-width: 148px;
  padding: 22px 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.role-card:hover {
  border-color: var(--line-acc);
  box-shadow: var(--glow-sm);
}
.role-card--sme {
  border-color: var(--line-acc);
  background: rgba(79,70,229,0.05);
}

.role-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(79,70,229,0.07);
  border: 1px solid var(--line-acc);
  border-radius: 8px;
  color: var(--violet);
  margin-bottom: 6px;
  flex-shrink: 0;
}
.role-icon svg { width: 20px; height: 20px; }

.role-abbr {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-hi);
  line-height: 1;
}
.role-title {
  font-size: 0.72rem;
  color: var(--violet);
  font-weight: 600;
  line-height: 1.3;
}
.role-card p {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 2px;
}

.role-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  flex-shrink: 0;
}
.c-spark {
  color: var(--violet);
  font-size: 0.9rem;
  line-height: 1;
  filter: none;
}
.c-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, var(--violet), transparent);
}
.c-label {
  font-size: 0.56rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (max-width: 860px) {
  .human-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .role-connector {
    flex-direction: row;
    padding: 8px 0;
    gap: 8px;
  }
  .c-line {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--violet), transparent);
  }
  .c-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

/* ── Offer divider ── */
.offer-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.offer-divider::before,
.offer-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ── 06 Audit preview ── */
.cp-audit-list {
  flex: 1;
  padding: 10px 14px;
  display: grid;
  gap: 6px;
}
.cp-audit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 6px;
}
.cp-audit-item span { font-size: 0.72rem; flex-shrink: 0; }
.cp-audit-item.done { color: var(--text); }
.cp-audit-item.active {
  color: var(--violet);
  background: rgba(79,70,229,0.06);
  border: 1px solid var(--line-acc);
}
.cp-audit-item.dim { opacity: 0.45; }

/* ── 07 Accessibility preview ── */
.cp-access-list {
  flex: 1;
  padding: 10px 14px;
  display: grid;
  gap: 7px;
}
.cp-access-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--muted);
}
.cp-access-row.pass { color: var(--green); }
.cp-access-row span { font-size: 0.75rem; }

/* ── 08 Language preview ── */
.cp-lang-list {
  flex: 1;
  padding: 8px 14px 4px;
  display: grid;
  gap: 5px;
}
.cp-lang-row {
  font-size: 0.68rem;
  color: var(--muted);
  padding: 3px 0;
}
.cp-lang-row.active { color: var(--text-hi); font-weight: 700; }
.cp-lang-row.done   { color: var(--green); }
.cp-lang-row.prog   { color: var(--violet); }

/* ── 09 LMS preview ── */
.cp-lms-body {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.cp-upload-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line-acc);
  border-radius: 7px;
  background: rgba(79,70,229,0.05);
}
.cp-file-icon { font-size: 0.85rem; }
.cp-file-name { font-size: 0.68rem; color: var(--text); font-weight: 600; }
.cp-upload-checks { display: flex; flex-direction: column; gap: 4px; }
.cp-uc {
  font-size: 0.64rem;
  color: var(--muted);
}
.cp-uc.pass { color: var(--green); }

/* ── 10 Maintenance preview ── */
.cp-cal-list {
  flex: 1;
  padding: 10px 14px;
  display: grid;
  gap: 7px;
}
.cp-cal-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.67rem;
  color: var(--muted);
}
.cp-cal-row.done   { color: var(--text); }
.cp-cal-row.active { color: var(--violet); font-weight: 700; }
.cp-cal-row.dim    { opacity: 0.4; }
.cp-cal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cp-cal-dot.done   { background: var(--green); border-color: var(--green); }
.cp-cal-dot.active { background: var(--violet); border-color: var(--violet); box-shadow: none; }

/* ── 11 Cert preview ── */
.cp-cert-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}
.cp-cert-score {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-hi);
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cp-cert-unit {
  font-size: 1.2rem;
}
.cp-cert-label {
  font-size: 0.66rem;
  color: var(--muted);
  text-align: center;
}
.cp-cert-badge {
  font-size: 0.72rem;
  color: var(--green);
  padding: 3px 12px;
  border: 1px solid rgba(22,163,74,0.24);
  border-radius: 999px;
  background: rgba(22,163,74,0.08);
  font-weight: 700;
}

/* ── Process icons ── */
.step-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(79,70,229,0.07);
  border: 1px solid var(--line-acc);
  border-radius: 8px;
  color: var(--violet);
  margin-bottom: 14px;
}
.step-icon svg { width: 20px; height: 20px; }
.process-list .step-num {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.process-list .step-label {
  display: block;
  color: var(--violet);
  font-size: 1.06rem;
  font-weight: 900;
  margin-bottom: 10px;
}
