﻿:root {
  --ink: #151826;
  --muted: #61697a;
  --line: #dfe3eb;
  --surface: #ffffff;
  --soft: #f5f7fb;
  --violet: #4d32f6;
  --blue: #1769e0;
  --teal: #155868;
  --red: #f1323d;
  --amber: #eeaa00;
  --green: #0f9d62;
  --shadow: 0 18px 45px rgba(23, 29, 55, 0.13);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  color: #fff;
  background: #4c31f4;
  box-shadow: 0 8px 28px rgba(29, 26, 92, 0.22);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.55rem); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 8px;
  font-weight: 900;
  background: rgba(255,255,255,.12);
}
.main-nav { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; min-width: 0; max-width: 100%; font-weight: 650; }
.main-nav a { opacity: .9; }
.main-nav a:hover { opacity: 1; }
.header-action, .primary-link, .secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 800;
}
.header-action { background: var(--red); }
.primary-link { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(23, 105, 224, .24); }
.secondary-link { color: var(--blue); border: 1px solid rgba(23,105,224,.32); background: #fff; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 7vh 5vw 5vh;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}
.hero-copy, .hero-media, .analytics-copy, .analytics-band img { min-width: 0; }
.hero h1 {
  margin: 8px 0 16px;
  font-size: clamp(3rem, 5.7vw, 5.9rem);
  line-height: .92;
  letter-spacing: 0;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-lead { max-width: 650px; margin: 0; color: #3d4351; font-size: clamp(1.04rem, 1.55vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.hero-metrics div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-metrics dt { font-weight: 900; color: var(--violet); }
.hero-metrics dd { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.hero-media {
  justify-self: end;
  width: min(100%, 900px);
  padding: 10px;
  background: #151826;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(.6deg);
}
.hero-media img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

section { padding: 82px 5vw; }
.section-heading { max-width: 870px; margin-bottom: 32px; }
.section-heading h2, .analytics-copy h2, .contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.compact { max-width: 720px; }

.intro-band { background: #fff; }
.problem-grid, .module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.problem-grid article, .module-card, .role-table, .capture-stage, .contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(32, 39, 63, .06);
}
.problem-grid article { padding: 24px; }
.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}
h3 { margin: 0 0 8px; font-size: 1.25rem; }
p { color: var(--muted); }

.workflow { background: #eef2f7; }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.timeline div { min-height: 170px; padding: 22px; background: #fff; }
.timeline strong { display: block; margin-bottom: 12px; color: var(--violet); font-size: 1.1rem; }
.timeline span { color: var(--muted); }

.modules { background: #fff; }
.module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.module-card { overflow: hidden; }
.module-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--line); }
.module-card div { padding: 22px; }

.roles { background: #f7f9fc; }
.role-table { overflow: hidden; }
.role-table > div {
  display: grid;
  grid-template-columns: .7fr 1.25fr 1fr;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.role-table > div:first-child { border-top: 0; }
.role-table span:first-child { font-weight: 900; color: var(--ink); }
.table-head { color: #fff; background: var(--teal); font-weight: 900; }

.analytics-band {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(420px, 1.25fr);
  gap: 34px;
  align-items: center;
  background: #ffffff;
}
.analytics-copy p:last-child { font-size: 1.08rem; }
.analytics-band img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.captures { background: #eef2f7; }
.capture-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.capture-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.capture-tabs button.active { color: #fff; border-color: var(--violet); background: var(--violet); }
.capture-stage { margin: 0; overflow: hidden; }
.capture-stage img { width: 100%; max-height: 680px; object-fit: contain; background: #fff; }
.capture-stage figcaption { padding: 18px 22px; color: var(--muted); border-top: 1px solid var(--line); }

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 82px 5vw;
  padding: 34px;
  background: #101827;
  color: #fff;
}
.contact p { color: #d6dae5; max-width: 760px; }
.contact .eyebrow { color: #67d39c; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 5vw;
  color: #fff;
  background: #151826;
}
.site-footer p { margin: 0; color: #d6dae5; }
.site-footer a { font-weight: 800; }

@media (max-width: 980px) {
  .hero, .analytics-band { grid-template-columns: minmax(0, 1fr); }
  .site-header { align-items: flex-start; flex-direction: column; padding-top: 16px; padding-bottom: 16px; }
  .main-nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .header-action { align-self: stretch; }
  .hero { padding-top: 48px; }
  .hero-media { transform: none; }
  .problem-grid, .module-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .role-table > div { grid-template-columns: 1fr; }
  .contact { align-items: stretch; flex-direction: column; }
}

@media (max-width: 620px) {
  section { padding: 56px 5vw; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero h1 { max-width: 100%; font-size: clamp(2rem, 10vw, 4.4rem); overflow-wrap: anywhere; word-break: break-word; }
  .eyebrow { font-size: .68rem; }
  .hero-actions a { width: 100%; }
  .main-nav { font-size: .92rem; }
  .contact { margin: 56px 5vw; padding: 24px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}



