/* ==========================================================================
   ZeroCopy — global styles
   Brand: dark-first IP protection SaaS
   ========================================================================== */

:root {
  --bg: #050507;
  --bg-elev-1: #0B0C10;
  --bg-elev-2: #11131A;
  --bg-elev-3: #181B24;
  --border: #22252F;
  --border-soft: #1A1D26;
  --text: #FFFFFF;
  --text-muted: #A1A6B3;
  --text-dim: #6B7180;

  --brand: #1F6FEB;
  --brand-2: #2A7FFF;
  --accent: #7DD3FC;
  --accent-strong: #38BDF8;

  --success: #22C55E;
  --warn: #F59E0B;
  --danger: #EF4444;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 8px 24px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);

  --container: 1200px;
  --container-sm: 880px;
  --container-xs: 520px;

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --header-h: 72px;
  --transition: 180ms ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* Typography */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
p  { margin: 0 0 1rem; color: var(--text-muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { width: 100%; max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }
.container-xs { width: 100%; max-width: var(--container-xs); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(56, 189, 248, .08);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, .25);
}
/* Reset adjacent heading top margins so eyebrow controls the gap */
.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3 { margin-top: 0; }

.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.center { text-align: center; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,7,.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  color: var(--text);
}
.nav-brand img { height: 22px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  font-size: .95rem;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(5,5,7,.97);
  z-index: 49;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-soft);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 14px 12px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1.1rem;
  border: 1px solid var(--border-soft);
  background: var(--bg-elev-1);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  transition: transform var(--transition), background var(--transition),
              border-color var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #051226;
}
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: #3A3F4D; background: rgba(255,255,255,.03); }
.btn-link {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  text-decoration: underline;
  padding: .55rem .5rem;
  font-weight: 500;
}
.btn-link:hover { color: var(--text); background: transparent; }
.btn-solid {
  background: var(--brand-2);
  color: #fff;
}
.btn-solid:hover { background: var(--brand); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 120px 0 96px;
  background: radial-gradient(1100px 600px at 50% 0%, rgba(31,111,235,.18), transparent 60%),
              radial-gradient(700px 400px at 50% 100%, rgba(125,211,252,.12), transparent 60%);
  overflow: hidden;
}
.hero h1 {
  max-width: 920px;
  margin: 0 auto 18px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.hero p.lead {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.hero-cta { display: inline-flex; gap: 12px; }
.trust {
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .9rem;
}
.trust-stars { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 500; }
.trust-stars .stars { letter-spacing: 2px; color: #FACC15; }

/* Dashboard preview */
.hero-preview {
  margin: 56px auto 0;
  max-width: 1080px;
  padding: 0 24px;
  position: relative;
}
.hero-preview::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 60%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(125,211,252,.5), transparent);
  filter: blur(.5px);
}
.dashboard-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(180deg, #0C0E14, #060709);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dashboard-bar {
  display: grid;
  grid-template-columns: 240px 1fr 320px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
  gap: 20px;
}
.dashboard-bar .brand-mini { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.dashboard-bar .brand-mini img { height: 18px; }
.dashboard-bar .crumb { font-size: .8rem; color: var(--text-dim); }
.dashboard-bar .crumb strong { display: block; color: var(--text); font-size: 1rem; font-weight: 500; }
.dashboard-bar .right { display: flex; align-items: center; gap: 12px; justify-self: end; }
.dashboard-bar .search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: .85rem;
  color: var(--text-dim);
  min-width: 200px;
}
.dashboard-bar .icon-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.dashboard-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 320px;
}
.dashboard-side {
  border-right: 1px solid var(--border-soft);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.dashboard-side .row {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .9rem;
  display: flex; align-items: center; gap: 10px;
}
.dashboard-side .row.is-active { background: rgba(56,189,248,.08); color: var(--text); }
.dashboard-main { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dashboard-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 130px;
}
.dashboard-card h4 { font-size: .85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.dashboard-card .stat { font-size: 1.6rem; font-weight: 600; }
.dashboard-card .delta { color: var(--success); font-size: .8rem; margin-top: 6px; }
.dashboard-card.span-2 { grid-column: span 2; min-height: 180px; }
.bar-mock { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 10px; }
.bar-mock span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-strong), var(--brand-2));
  border-radius: 4px 4px 0 0;
  opacity: .85;
}

@media (max-width: 880px) {
  .dashboard-bar { grid-template-columns: 1fr auto; }
  .dashboard-bar .crumb { display: none; }
  .dashboard-bar .search { display: none; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-side { display: none; }
  .dashboard-main { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* Logos strip */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: .65;
}
.logos span {
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Feature grid (How it works) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: linear-gradient(180deg, var(--bg-elev-1), var(--bg));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.step .num {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  font-weight: 600;
  border-radius: 50%;
  background: rgba(56,189,248,.1);
  color: var(--accent-strong);
  border: 1px solid rgba(56,189,248,.25);
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* Five-phase Searchlight workflow */
.phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.phase {
  background: linear-gradient(180deg, var(--bg-elev-1), var(--bg));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  position: relative;
  border-top-width: 3px;
  border-top-style: solid;
}
.phase-1 { border-top-color: #7B68EE; }
.phase-2 { border-top-color: #4ADE80; }
.phase-3 { border-top-color: #FACC15; }
.phase-4 { border-top-color: #FB923C; }
.phase-5 { border-top-color: #C084FC; }
.phase-num {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.phase-icon {
  width: 40px; height: 40px;
  background: rgba(56,189,248,.08);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.phase-icon svg { width: 22px; height: 22px; color: var(--accent-strong); }
.phase h3 { font-size: 1.05rem; margin-bottom: 6px; }
.phase p { font-size: .88rem; line-height: 1.45; color: var(--text-muted); }
.phase + .phase::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--border);
  display: none;
}
@media (max-width: 1100px) { .phases { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .phases { grid-template-columns: 1fr; } }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg-elev-1);
}
.feature .ico {
  width: 40px; height: 40px;
  background: rgba(56,189,248,.1);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature .ico svg { width: 22px; height: 22px; color: var(--accent-strong); }
@media (max-width: 880px) { .features { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--bg-elev-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.55;
}
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--accent));
  color: #051226;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.testimonial .who-meta strong { display: block; font-weight: 600; }
.testimonial .who-meta span { color: var(--text-muted); font-size: .85rem; }
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; } }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--bg-elev-1);
  display: flex;
  flex-direction: column;
}
.plan.is-featured {
  border-color: rgba(56,189,248,.4);
  background: linear-gradient(180deg, rgba(56,189,248,.06), var(--bg-elev-1));
  position: relative;
}
.plan.is-featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #051226;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.plan h3 { margin-bottom: 6px; }
.plan .price { font-size: 2.4rem; font-weight: 600; margin: 14px 0 6px; }
.plan .price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.plan ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--text-muted);
}
.plan ul li::before {
  content: "";
  width: 16px; height: 16px;
  flex: none;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237DD3FC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.plan .btn { margin-top: auto; }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 500;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 22px; max-width: 680px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(31,111,235,.18), rgba(56,189,248,.1));
  border: 1px solid rgba(56,189,248,.25);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  margin: 0 auto;
  max-width: 1000px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 540px; margin: 0 auto 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-grid h5 { color: var(--text); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-muted); font-size: .95rem; }
.footer-grid a:hover { color: var(--text); }
.footer-brand img { height: 24px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; max-width: 320px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: .85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Auth pages (sign in / sign up)
   ========================================================================== */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 24px 96px;
  background: radial-gradient(900px 500px at 50% -100px, rgba(31,111,235,.14), transparent 60%);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.75rem; margin-bottom: 8px; }
.auth-card p.sub { color: var(--text-muted); margin-bottom: 32px; }
.auth-card.wide { max-width: 720px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .85rem; color: var(--text); font-weight: 500; }
.field .help { font-size: .8rem; color: var(--text-dim); }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(56,189,248,.18);
}
.field.error input,
.field.error select,
.field.error textarea { border-color: var(--danger); }
.field .err-msg { color: var(--danger); font-size: .8rem; min-height: 1em; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 640px) {
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .auth-card { padding: 28px; }
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent-strong); }
.checkbox a { color: var(--accent-strong); }

.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0;
  color: var(--text-dim);
  font-size: .85rem;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border-soft);
}

.btn-sso {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  justify-content: center;
}
.btn-sso:hover { background: var(--bg-elev-3); }
.btn-sso svg { width: 18px; height: 18px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .btn-row { grid-template-columns: 1fr; } }

.auth-footer {
  text-align: center;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: .9rem;
}
.auth-footer a { color: var(--accent-strong); font-weight: 500; }

/* Stepper */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}
.stepper .step-dot {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: .85rem;
  position: relative;
}
.stepper .step-dot .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-elev-3);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 600;
  flex: none;
}
.stepper .step-dot.is-active { color: var(--text); }
.stepper .step-dot.is-active .num {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #051226;
}
.stepper .step-dot.is-complete .num {
  background: var(--success);
  border-color: var(--success);
  color: #051226;
}
.stepper .step-dot:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 10px;
}
@media (max-width: 640px) {
  .stepper .step-dot span.label { display: none; }
}

.step-panel { display: none; }
.step-panel.is-active { display: block; }
.step-panel h2 { font-size: 1.4rem; margin-bottom: 6px; }
.step-panel > p.sub { color: var(--text-muted); margin-bottom: 24px; }

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
}
.step-actions .btn { min-width: 120px; }

/* Review summary */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 640px) { .summary-grid { grid-template-columns: 1fr; } }
.summary-block {
  background: var(--bg-elev-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.summary-block h4 { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.summary-block dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: .9rem; }
.summary-block dt { color: var(--text-dim); }
.summary-block dd { margin: 0; color: var(--text); word-break: break-word; }

/* Toast / banner */
.banner {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #BBF7D0;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: .9rem;
}
.banner.is-error {
  background: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.3);
  color: #FECACA;
}

/* Generic page hero */
.page-hero {
  text-align: center;
  padding: 80px 24px 60px;
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(700px 300px at 50% 0%, rgba(31,111,235,.12), transparent 60%);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 580px; margin: 0 auto; color: var(--text-muted); }

/* Placeholder disclaimer overlay (e.g. testimonials need real content) */
.placeholder-overlay {
  position: relative;
}
.placeholder-overlay > .placeholder-content { filter: blur(2px); opacity: .35; pointer-events: none; }
.placeholder-overlay .placeholder-banner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  padding: 24px;
}
.placeholder-overlay .placeholder-banner-inner {
  background: rgba(239, 68, 68, .95);
  color: #fff;
  border: 3px solid #fff;
  border-radius: var(--radius-lg);
  padding: 28px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(239, 68, 68, .35), 0 0 0 6px rgba(239, 68, 68, .25);
  max-width: 720px;
  transform: rotate(-2deg);
}
.placeholder-overlay .placeholder-banner-inner .tag {
  display: inline-block;
  background: #fff;
  color: var(--danger);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.placeholder-overlay .placeholder-banner-inner h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.placeholder-overlay .placeholder-banner-inner p {
  margin: 0;
  color: #fff;
  font-size: .95rem;
}

/* Repeatable row groups (signatories, distributors, etc.) */
.row-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.row-group .row-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.row-group .row-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 40px;
  gap: 10px;
  align-items: start;
}
.row-group .row-item input,
.row-group .row-item select {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: .9rem;
}
.row-group .row-item .row-remove {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev-2);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.row-group .row-item .row-remove:hover {
  color: var(--danger);
  border-color: var(--danger);
}
.row-group .row-add {
  align-self: flex-start;
  font-size: .85rem;
  color: var(--accent-strong);
  padding: 6px 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.row-group .row-add:hover { border-color: var(--accent-strong); }
@media (max-width: 640px) {
  .row-group .row-item {
    grid-template-columns: 1fr 40px;
    grid-template-areas:
      "a r"
      "b b"
      "c c";
  }
  .row-group .row-item > *:nth-child(1) { grid-area: a; }
  .row-group .row-item > *:nth-child(2) { grid-area: b; }
  .row-group .row-item > *:nth-child(3) { grid-area: c; }
  .row-group .row-item > *:nth-child(4) { grid-area: r; }
}

/* Checkbox grids (multi-select chips) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-elev-2);
  font-size: .85rem;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.chips input { display: none; }
.chips input:checked + span,
.chips label:has(input:checked) {
  border-color: var(--accent-strong);
  background: rgba(56,189,248,.1);
  color: var(--text);
}

/* Radio cards (used in onboarding for frequency, success metric etc.) */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.radio-cards label {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev-2);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.radio-cards label strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.radio-cards label small { color: var(--text-muted); font-size: .8rem; }
.radio-cards input { display: none; }
.radio-cards label:has(input:checked) {
  border-color: var(--accent-strong);
  background: rgba(56,189,248,.1);
}

/* Legal text block */
.legal-block {
  background: var(--bg-elev-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  max-height: 280px;
  overflow-y: auto;
}
.legal-block h5 {
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.legal-block p { margin: 0 0 10px; }
.legal-block p:last-child { margin-bottom: 0; }

/* Signature pad placeholder */
.signature-pad {
  background: var(--bg-elev-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  color: var(--text-dim);
  font-size: .85rem;
  margin-top: 8px;
}

/* Account-created success card */
.success-card {
  text-align: center;
  padding: 48px 24px;
}
.success-card .check {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.gap-2 { gap: 12px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.hidden { display: none !important; }

/* Ensure no horizontal overflow on small screens */
@media (max-width: 480px) {
  section { padding: 64px 0; }
  .hero { padding-top: 64px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin: 0 auto; }
  .cta-band { padding: 40px 20px; }
}

/* ========================
   Cookie consent banner
   ======================== */
.zc-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  background: var(--bg-elev-1, #0f1218);
  border: 1px solid var(--border-soft, #2a2f3a);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  color: var(--text, #e8eaef);
  animation: zc-cookie-slide-up .25s ease-out;
}
@keyframes zc-cookie-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.zc-cookie-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.zc-cookie-text { flex: 1; min-width: 280px; }
.zc-cookie-text strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.zc-cookie-text p { margin: 0; font-size: .85rem; color: var(--text-muted, #9aa3b2); }
.zc-cookie-text a { color: var(--accent-strong, #38bdf8); text-decoration: underline; }
.zc-cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* Settings modal */
.zc-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.zc-cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}
.zc-cookie-modal-card {
  position: relative;
  background: var(--bg-elev-1, #0f1218);
  border: 1px solid var(--border-soft, #2a2f3a);
  border-radius: var(--radius-lg, 12px);
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  overflow-y: auto;
  padding: 28px;
  color: var(--text, #e8eaef);
  z-index: 1;
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
}
.zc-cookie-close {
  position: absolute;
  top: 12px; right: 14px;
  background: transparent;
  border: 0;
  color: var(--text-muted, #9aa3b2);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.zc-cookie-close:hover { color: var(--text, #e8eaef); }
.zc-cookie-modal-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.zc-cookie-intro { margin: 0 0 18px; color: var(--text-muted, #9aa3b2); font-size: .9rem; }
.zc-cookie-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.zc-cookie-row {
  border: 1px solid var(--border-soft, #2a2f3a);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(255,255,255,.02);
}
.zc-cookie-row-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.zc-cookie-row-head strong { font-size: .95rem; }
.zc-cookie-row p { margin: 0; font-size: .82rem; color: var(--text-muted, #9aa3b2); }
.zc-cookie-tag {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(56,189,248,.12);
  color: var(--accent-strong, #38bdf8);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 4px;
  font-weight: 600;
}
.zc-cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

/* Toggle switch */
.zc-cookie-toggle { position: relative; display: inline-block; width: 38px; height: 22px; }
.zc-cookie-toggle input { opacity: 0; width: 0; height: 0; }
.zc-cookie-slider {
  position: absolute; cursor: pointer; inset: 0;
  background-color: #2a2f3a; border-radius: 22px;
  transition: background .15s;
}
.zc-cookie-slider:before {
  content: ""; position: absolute; height: 16px; width: 16px;
  left: 3px; top: 3px; background-color: #e8eaef;
  border-radius: 50%; transition: transform .15s;
}
.zc-cookie-toggle input:checked + .zc-cookie-slider { background-color: var(--accent-strong, #38bdf8); }
.zc-cookie-toggle input:checked + .zc-cookie-slider:before { transform: translateX(16px); }
.zc-cookie-toggle input:disabled + .zc-cookie-slider { opacity: .55; cursor: not-allowed; }

@media (max-width: 640px) {
  .zc-cookie-banner { left: 8px; right: 8px; bottom: 8px; }
  .zc-cookie-inner { padding: 14px 16px; gap: 14px; }
  .zc-cookie-actions { width: 100%; }
  .zc-cookie-actions .btn { flex: 1; }
}

/* ========================
   Contact / Book-a-demo modal
   ======================== */
.zc-contact-modal {
  position: fixed; inset: 0; z-index: 9200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.zc-contact-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.zc-contact-card {
  position: relative; z-index: 1;
  background: var(--bg-elev-1, #11131A);
  border: 1px solid var(--border-soft, #1A1D26);
  border-radius: var(--radius-lg, 16px);
  width: 100%; max-width: 560px; max-height: 92vh;
  padding: 32px; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  color: var(--text, #FFFFFF);
  animation: zc-contact-rise .2s ease-out;
}
@keyframes zc-contact-rise {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.zc-contact-close {
  position: absolute; top: 14px; right: 18px;
  background: transparent; border: 0; color: var(--text-muted, #A1A6B3);
  font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.zc-contact-close:hover { color: var(--text, #fff); }
.zc-contact-head { margin-bottom: 22px; }
.zc-contact-eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-strong, #38BDF8); font-weight: 600;
  background: rgba(56,189,248,.08); padding: 4px 10px;
  border: 1px solid rgba(56,189,248,.25); border-radius: 999px;
}
.zc-contact-head h2 { font-size: 1.6rem; margin: 0 0 8px; font-weight: 600; }
.zc-contact-head p { margin: 0; color: var(--text-muted, #A1A6B3); font-size: .95rem; }
.zc-contact-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px;
}
.zc-contact-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.zc-contact-field label {
  font-size: .8rem; font-weight: 600; margin-bottom: 6px;
  color: var(--text, #FFFFFF);
}
.zc-contact-muted { font-weight: 400; color: var(--text-muted, #A1A6B3); }
.zc-contact-field input,
.zc-contact-field textarea {
  width: 100%; padding: 11px 14px; font-size: .95rem;
  background: var(--bg, #0B0C10);
  border: 1px solid var(--border, #22252F);
  border-radius: 8px;
  color: var(--text, #FFFFFF);
  font-family: inherit; transition: border-color .15s;
}
.zc-contact-field input:focus,
.zc-contact-field textarea:focus {
  outline: none; border-color: var(--accent-strong, #38BDF8);
}
.zc-contact-field textarea { resize: vertical; min-height: 90px; }
.zc-contact-error {
  min-height: 22px; font-size: .85rem; color: #EF4444; margin: 2px 0 10px;
}
.zc-contact-submit {
  width: 100%; padding: 13px 22px; font-size: 1rem; font-weight: 600;
  border: 0; border-radius: 999px;
  background: var(--accent, #7DD3FC); color: #051226;
  cursor: pointer; font-family: inherit;
  transition: background .15s, transform .1s;
}
.zc-contact-submit:hover { background: var(--accent-strong, #38BDF8); }
.zc-contact-submit:active { transform: translateY(1px); }
.zc-contact-submit:disabled { opacity: .65; cursor: not-allowed; }
.zc-contact-fine {
  margin: 14px 0 0; font-size: .78rem; color: var(--text-dim, #6B7180); text-align: center;
}
.zc-contact-fine a { color: var(--accent-strong, #38BDF8); text-decoration: underline; }

@media (max-width: 560px) {
  .zc-contact-card { padding: 22px; }
  .zc-contact-row { grid-template-columns: 1fr; }
}
