:root {
  --font-sans: 'Bricolage Grotesque', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --brand: #5B359D;
  --brand-strong: #47297D;
  --brand-mid: #7c3aed;
  --brand-light: #efe7ff;
  --accent: #0ec97f;
  --accent-bg: rgba(14, 201, 127, .12);
  --text-primary: #0f172a;
  --text-secondary: #516072;
  --text-muted: #718198;
  --white: #ffffff;
  --off-white: #faf8ff;
  --border: rgba(91,53,157,.16);
  --border-light: rgba(91,53,157,.1);
  --shadow: 0 24px 56px rgba(13,17,23,.08);
  --radius: 22px;
  --radius-lg: 28px;
  --radius-sm: 14px;
  --dark: #080313;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 0% 0%, rgba(124,58,237,.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  line-height: 1.4;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: all .18s ease;
}
.btn-xl { min-height: 54px; padding: 0 26px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(91,53,157,.22);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--border);
  background: rgba(255,255,255,.74);
  color: var(--brand);
}
.btn-ghost:hover { background: var(--brand-light); }

.solution-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(400px, .92fr);
  gap: 54px;
  align-items: center;
  min-height: 860px;
  margin-top: 64px;
  width: 100%;
  padding: 110px max(48px, calc((100vw - 1240px) / 2)) 86px;
  overflow: hidden;
}
.solution-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(124,58,237,.18), transparent 32%),
    radial-gradient(circle at 18% 14%, rgba(91,53,157,.09), transparent 24%),
    linear-gradient(180deg, rgba(239,231,255,.5), rgba(255,255,255,0));
  pointer-events: none;
}
.hero-copy,
.hero-visual { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(91,53,157,.08);
  border: 1px solid rgba(91,53,157,.12);
  color: var(--brand);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.85rem);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 800;
  max-width: 12ch;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero-sub {
  margin-top: 22px;
  max-width: 650px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.78;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 700px;
}
.hero-points div {
  background: rgba(255,255,255,.76);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
}
.hero-points span {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--brand);
  margin-bottom: 5px;
}
.hero-points strong { font-size: .94rem; line-height: 1.35; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: .9rem;
}
.hero-note svg { color: var(--accent); }

.hero-visual {
  max-width: 760px;
  width: 100%;
  justify-self: end;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(13,9,26,.96), rgba(11,7,22,.96));
  color: rgba(255,255,255,.58);
}
.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.browser-bar small {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
}
.hero-shot-wrap {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-top: none;
  border-radius: 0 0 26px 26px;
  background: #080313;
  box-shadow: 0 36px 70px rgba(9, 4, 18, .28);
}
.hero-shot {
  width: 100%;
  height: auto;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 48px;
}
.section-center { text-align: center; }
.eyebrow {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow.muted { color: rgba(218,204,255,.86); }
.section-title {
  font-size: clamp(2rem, 3.25vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.section-title.left,
.section-sub.left,
.feature-copy,
.audience-copy { text-align: left; }
.section-title.light { color: #fff; }
.section-sub {
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.74;
  font-size: 1.02rem;
}
.section-sub.left { margin: 0; max-width: 640px; }
.section-sub.dimmed { color: rgba(255,255,255,.7); }

.intro-strip { padding-top: 10px; }

.feature-slab {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1fr);
  gap: 46px;
  align-items: center;
}
.feature-slab.reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(0, .94fr);
}
.feature-slab.reverse .feature-copy { order: 2; }
.feature-slab.reverse .feature-visual { order: 1; }
.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.58;
}
.feature-list span {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 900;
  margin-top: 1px;
}
.visual-card,
.wide-card {
  background: linear-gradient(180deg, #0b0615, #06020d);
  border: 1px solid rgba(91,53,157,.24);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 34px 68px rgba(12,7,24,.18);
}
.visual-card img,
.wide-card img { width: 100%; height: auto; }
.feature-visual.visual-card { max-width: 700px; justify-self: end; }
.feature-visual.wide-card { max-width: 100%; }

.dark-band {
  background:
    radial-gradient(circle at 80% 20%, rgba(124,58,237,.2), transparent 28%),
    linear-gradient(145deg, #080313 0%, #130a24 60%, #080313 100%);
}
.dark-band-inner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pipeline-grid article {
  min-height: 210px;
  border-radius: 22px;
  border: 1px solid rgba(200,181,255,.18);
  background: linear-gradient(155deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  padding: 26px;
  color: #fff;
}
.pipeline-grid span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(124,58,237,.24);
  color: #e6dcff;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: .78rem;
  margin-bottom: 18px;
}
.pipeline-grid strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.pipeline-grid p {
  color: rgba(255,255,255,.68);
  font-size: .92rem;
  line-height: 1.65;
}

.module-section { padding-top: 88px; }
.module-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 46px;
}
.module-pill-grid div {
  padding: 18px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--text-primary);
}

.audience-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.audience-links {
  display: grid;
  gap: 12px;
}
.audience-links a {
  display: block;
  background: linear-gradient(160deg, #fff, #faf8ff);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.audience-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(124,58,237,.32);
  box-shadow: var(--shadow);
}
.audience-links span {
  display: block;
  color: var(--brand);
  font-size: .82rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.audience-links strong {
  display: block;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.5;
}

.confidentiality-band {
  background:
    radial-gradient(circle at 88% 18%, rgba(14,201,127,.14), transparent 24%),
    linear-gradient(140deg, #0b0615 0%, #130b24 58%, #070311 100%);
}
.confidentiality-inner {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 28px;
  align-items: start;
}
.conf-mark {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 900;
}

.cta-band {
  padding: 96px 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(239,231,255,.56));
}
.cta-box {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  border-radius: 28px;
  padding: 54px 40px;
  background: linear-gradient(155deg, #fff, #faf8ff);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.center-actions { justify-content: center; }

footer {
  background: var(--dark);
  color: rgba(255,255,255,.42);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { color: #fff; font-weight: 900; font-size: 1.08rem; }
.footer-links { display: flex; gap: 22px; list-style: none; }
.footer-links a { font-size: .84rem; }
.footer-links a:hover { color: #fff; }
footer span { font-size: .8rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp .6s ease forwards; }
.d1 { animation-delay: .06s; }
.d2 { animation-delay: .18s; }

@media (max-width: 1100px) {
  .feature-slab,
  .feature-slab.reverse,
  .dark-band-inner,
  .audience-section {
    grid-template-columns: 1fr;
  }
  .feature-slab.reverse .feature-copy,
  .feature-slab.reverse .feature-visual {
    order: initial;
  }
  .pipeline-grid,
  .module-pill-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .solution-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
    padding: 78px 20px 64px;
  }
  .section { padding: 72px 20px; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-visual { justify-self: stretch; max-width: 100%; }
  .hero-points { grid-template-columns: 1fr; }
  .confidentiality-inner { grid-template-columns: 1fr; }
  .cta-band { padding: 72px 20px; }
}

@media (max-width: 700px) {
  .pipeline-grid,
  .module-pill-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn, .btn-xl { width: 100%; }
  .cta-box { padding: 40px 22px; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

/* REWORK WIDE SCREENSHOTS - lighter product sections */
.product-view {
  position: relative;
  padding: 84px 48px;
  overflow: hidden;
}

.product-view-dark {
  background:
    radial-gradient(circle at 80% 0%, rgba(124,58,237,.22), transparent 32%),
    linear-gradient(145deg, #080313 0%, #120822 58%, #070311 100%);
  color: #fff;
}

.product-view-light {
  background:
    radial-gradient(circle at 85% 15%, rgba(91,53,157,.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
}

.product-view-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.product-view-header {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, .78fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}

.product-view-title .section-title {
  margin-bottom: 0;
  max-width: 620px;
}

.product-view-text p {
  color: rgba(255,255,255,.70);
  line-height: 1.72;
  font-size: .98rem;
}

.product-view-text.light-text p {
  color: var(--text-secondary);
}

.inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.inline-tags span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(200,181,255,.28);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  font-family: var(--font-mono);
  font-size: .7rem;
}

.inline-tags.light-tags span {
  background: var(--brand-light);
  border-color: var(--border);
  color: var(--brand);
}

.screenshot-window {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(200,181,255,.14);
  background: #080313;
  box-shadow: 0 28px 54px rgba(5,2,13,.24);
}

.screenshot-window-light {
  border-color: rgba(91,53,157,.16);
  box-shadow: 0 24px 46px rgba(13,17,23,.10);
}

.browser-bar.compact {
  padding: 10px 14px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.browser-bar.compact span {
  width: 9px;
  height: 9px;
}

.browser-bar.compact small {
  font-size: .7rem;
}

.light-bar {
  background: #fff;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light) !important;
}

.light-bar span {
  background: rgba(91,53,157,.16);
}

.screenshot-canvas {
  background: #242431;
  padding: 0;
}

.light-canvas {
  background: #242431;
}

.screenshot-window-wide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* soften old wide-showcase classes if an older HTML block remains in cache */
.screenshot-showcase {
  padding-top: 78px;
  padding-bottom: 78px;
}

.screenshot-frame {
  border-radius: 22px;
  max-width: 1180px;
  margin: 26px auto 0;
  box-shadow: 0 24px 48px rgba(13,17,23,.12);
}

@media (max-width: 980px) {
  .product-view {
    padding: 72px 20px;
  }

  .product-view-header {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 22px;
  }
}

@media (max-width: 700px) {
  .product-view {
    padding: 58px 20px;
  }

  .screenshot-window {
    border-radius: 16px;
  }

  .browser-bar.compact small {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}