:root {
  --blue: #2b59c3;
  --blue-dark: #20489f;
  --navy: #0f172a;
  --ink: #1e293b;
  --muted: #64748b;
  --slate: #cbd5e1;
  --line: #e2e8f0;
  --panel: #f8fafc;
  --white: #ffffff;
  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0;
}

.brand-name {
  font-size: 19px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(43, 89, 195, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: var(--slate);
  background: var(--white);
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 72px) 54px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(43, 89, 195, 0.12), transparent 34%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.dashboard-preview {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
}

.hero-preview {
  transform: perspective(1100px) rotateY(-4deg) rotateX(2deg);
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--slate);
}

.preview-topbar strong {
  margin-left: 8px;
  font-size: 13px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 430px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: #eef2f7;
}

.preview-sidebar span {
  border-radius: 8px;
  padding: 10px 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.preview-sidebar .active {
  background: var(--navy);
  color: var(--white);
}

.preview-main {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-row div,
.preview-panel,
.chart-card,
.screen-card,
.pain-grid article,
.capability-grid article,
.use-case-grid article,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric-row div {
  padding: 16px;
}

small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric-row strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 28px;
}

.preview-panel {
  padding: 18px;
}

.panel-header,
.mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-header span,
.mini-header span {
  border-radius: 999px;
  background: #e0e7ff;
  color: var(--blue-dark);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.control-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.control-list div {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: #475569;
  font-size: 13px;
}

.control-list strong {
  color: var(--navy);
}

.status {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.complete {
  background: var(--success);
}

.review {
  background: var(--warning);
}

.late {
  background: var(--danger);
}

.chart-card {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 20px;
  min-height: 116px;
}

.bar {
  flex: 1;
  border-radius: 7px 7px 2px 2px;
  background: var(--blue);
  opacity: 0.9;
}

.bar.high {
  height: 76px;
}

.bar.mid {
  height: 54px;
  background: var(--navy);
}

.bar.low {
  height: 34px;
  background: #94a3b8;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.trust-strip span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 16px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(64px, 9vw, 104px) clamp(20px, 5vw, 72px);
}

.muted {
  background: var(--panel);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px);
}

.pain-grid,
.capability-grid,
.use-case-grid,
.screenshots,
.faq-grid {
  display: grid;
  gap: 16px;
}

.pain-grid,
.use-case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pain-grid article,
.capability-grid article,
.use-case-grid article {
  padding: 24px;
}

.pain-grid p,
.capability-grid p,
.use-case-grid p,
.screen-card p {
  margin: 10px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e0e7ff;
  color: var(--blue);
  font-weight: 900;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.workflow div {
  position: relative;
  display: grid;
  min-height: 96px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.workflow div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  width: 18px;
  height: 2px;
  background: var(--blue);
}

.security-band,
.pricing-cta,
.final-cta,
.site-footer {
  margin: 0 clamp(20px, 5vw, 72px);
}

.security-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 38px;
  align-items: center;
  padding: clamp(44px, 6vw, 70px);
  border-radius: 14px;
  background: var(--navy);
}

.security-band h2,
.security-band p {
  color: var(--white);
}

.security-band p {
  opacity: 0.78;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.security-list span {
  border: 1px solid rgba(203, 213, 225, 0.28);
  border-radius: 8px;
  padding: 14px;
  color: var(--white);
  font-weight: 800;
}

.screenshots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen-card {
  padding: 18px;
}

.mini-screen {
  display: grid;
  gap: 12px;
  min-height: 230px;
  align-content: start;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
}

.risk-row,
.evidence-item,
.finding-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.risk-row strong {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
}

.critical strong {
  background: #fee2e2;
  color: var(--danger);
}

.medium strong {
  background: #fef3c7;
  color: var(--warning);
}

.low strong {
  background: #dcfce7;
  color: var(--success);
}

.evidence-item {
  justify-content: flex-start;
}

.evidence-item span {
  width: 28px;
  height: 34px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--blue) 0 72%, #dbeafe 72% 100%);
}

.progress {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(34px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.pricing-cta p {
  max-width: 760px;
  margin-bottom: 0;
}

.faq {
  padding-top: 76px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

details p {
  margin-bottom: 0;
}

.final-cta {
  display: grid;
  place-items: center;
  padding: clamp(58px, 8vw, 92px) 24px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96)),
    linear-gradient(90deg, var(--navy), var(--blue));
  text-align: center;
}

.final-cta h2 {
  max-width: 820px;
  color: var(--white);
}

.final-cta .button-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .two-column,
  .security-band {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    transform: none;
  }

  .trust-strip,
  .capability-grid,
  .screenshots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow div:not(:last-child)::after {
    right: auto;
    bottom: -9px;
    width: 2px;
    height: 16px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 38px;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-row,
  .trust-strip,
  .pain-grid,
  .capability-grid,
  .use-case-grid,
  .screenshots,
  .faq-grid,
  .security-list {
    grid-template-columns: 1fr;
  }

  .control-list div {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .control-list strong {
    grid-column: 2;
  }

  .pricing-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
