:root {
  --bg: #fbfaff;
  --surface: #ffffff;
  --surface-tint: #f4edff;
  --surface-cool: #f7fbff;
  --border: #e6dff6;
  --border-strong: #d8cef2;
  --text: #070822;
  --muted: #4c466f;
  --muted-soft: #6d668c;
  --brand-dark: #071b45;
  --brand-light: var(--blue);
  --purple: #7c2dff;
  --purple-strong: #5a36dd;
  --purple-soft: #f0e7ff;
  --blue: #2f86c9;
  --blue-soft: #eaf5ff;
  --green: #2d8c68;
  --green-soft: #e8f7ef;
  --amber: #d8962e;
  --amber-soft: #fff2dc;
  --shadow: 0 18px 48px rgba(42, 31, 90, 0.08);
  --radius: 8px;
  --max-width: 1420px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #f8f6ff 100%);
  color: var(--text);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max-width));
  min-height: 74px;
  margin: 0 auto;
  padding: 16px 0;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.14rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-word {
  display: inline-flex;
  white-space: nowrap;
}

.brand-asset {
  color: var(--brand-dark);
}

.brand-sentry {
  color: var(--brand-light);
}

.wordmark-mark {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.site-nav a {
  border-radius: 999px;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--purple-strong);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid #dfd2ff;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-strong);
  font-weight: 800;
}

.nav-status {
  min-height: 30px;
  padding: 5px 11px;
  font-size: 0.78rem;
  text-decoration: none;
}

.section-shell {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

main > .section-shell:not(.hero):not(.page-hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: stretch;
  margin-top: 14px;
  margin-bottom: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding: 46px 42px;
  background: linear-gradient(90deg, var(--surface-tint) 0%, var(--surface-cool) 100%);
}

h1 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: 4.8rem;
  line-height: 0.95;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 750;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-note {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-note + .hero-note {
  margin-top: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.primary-cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-strong) 100%);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(90, 54, 221, 0.18);
}

.secondary-cta {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple-strong);
}

.signal-console {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: var(--surface);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.console-header strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.2;
}

.console-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--purple-strong);
  font-size: 0.76rem;
  font-weight: 850;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.metric {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--border);
}

.metric:last-child {
  border-right: 0;
}

.metric-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.1;
}

.mini-chart {
  display: flex;
  height: 132px;
  align-items: end;
  gap: 10px;
  padding: 22px 18px 0;
  border-bottom: 1px solid var(--border);
  background:
    repeating-linear-gradient(
      to top,
      transparent 0,
      transparent 39px,
      rgba(230, 223, 246, 0.82) 40px
    );
}

.bar {
  flex: 1 1 0;
  min-width: 16px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--purple) 0%, var(--blue) 100%);
}

.bar-1 {
  height: 62%;
}

.bar-2 {
  height: 46%;
}

.bar-3 {
  height: 76%;
}

.bar-4 {
  height: 36%;
}

.bar-5 {
  height: 55%;
}

.bar-6 {
  height: 68%;
}

.evidence-list {
  display: grid;
  gap: 0;
  padding: 8px 18px 16px;
}

.evidence-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border-bottom: 1px solid #eee9f8;
}

.evidence-row:last-child {
  border-bottom: 0;
}

.row-index {
  color: var(--muted-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
}

.row-main {
  min-width: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.row-tag {
  min-width: 62px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 850;
  text-align: center;
}

.row-tag.purple {
  background: var(--purple-soft);
  color: var(--purple-strong);
}

.row-tag.blue {
  background: var(--blue-soft);
  color: #1f6da8;
}

.row-tag.green {
  background: var(--green-soft);
  color: var(--green);
}

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

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-strong);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 2.1rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 48px;
}

.info-card {
  position: relative;
  --card-accent: var(--purple);
  --card-soft: var(--purple-soft);
  min-height: 176px;
  padding: 22px 22px 68px 74px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(42, 31, 90, 0.045);
  overflow: hidden;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.info-card::before {
  position: absolute;
  top: 20px;
  left: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--card-accent), var(--card-accent)) center / 15px 2px no-repeat,
    linear-gradient(var(--card-accent), var(--card-accent)) center / 2px 15px no-repeat,
    var(--card-soft);
  content: "";
}

.info-card::after {
  position: absolute;
  right: -26px;
  bottom: -42px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--card-soft);
  content: "";
}

.info-card:nth-child(2) {
  --card-accent: var(--blue);
  --card-soft: var(--blue-soft);
}

.info-card:nth-child(3) {
  --card-accent: var(--green);
  --card-soft: var(--green-soft);
}

.info-card:nth-child(4) {
  --card-accent: var(--amber);
  --card-soft: var(--amber-soft);
}

.info-card:nth-child(5) {
  --card-accent: #4f6fdc;
  --card-soft: #eef2ff;
}

.info-card:nth-child(6) {
  --card-accent: var(--purple-strong);
  --card-soft: #f2ecff;
}

.info-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 22px 46px rgba(42, 31, 90, 0.075);
  transform: translateY(-2px);
}

.info-card h3 {
  position: relative;
  z-index: 1;
  max-width: 28ch;
}

.info-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 48px;
  margin: 0;
  list-style: none;
}

.workflow-list li {
  min-height: 214px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(42, 31, 90, 0.04);
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-strong) 100%);
  color: #ffffff;
  font-weight: 850;
}

.workflow-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.split-section p,
.contact-section p {
  margin-bottom: 0;
}

.split-section p + p {
  margin-top: 14px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 22px 0 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(45, 140, 104, 0.24);
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.contact-section {
  align-items: start;
  margin-top: 18px;
  margin-bottom: 54px;
  background:
    linear-gradient(90deg, var(--surface-tint) 0%, var(--surface) 58%),
    var(--surface);
}

.contact-line {
  justify-self: start;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  box-shadow: 0 12px 28px rgba(42, 31, 90, 0.05);
}

.contact-line a {
  color: var(--purple-strong);
  font-weight: 850;
  text-decoration-color: rgba(124, 45, 255, 0.36);
  text-underline-offset: 4px;
}

.preview-contact {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(42, 31, 90, 0.055);
}

.preview-contact h3 {
  margin-bottom: 0;
}

.preview-contact > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.preview-contact .primary-cta {
  justify-self: start;
  min-width: 210px;
}

.privacy-note {
  margin-bottom: 0;
  color: var(--muted-soft);
  font-size: 0.82rem;
}

.preview-contact .contact-line {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.84rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 42px;
  align-items: stretch;
  margin-top: 14px;
  margin-bottom: 28px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, var(--surface-tint) 0%, var(--surface-cool) 100%),
    var(--surface);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 14ch;
  margin-bottom: 16px;
  color: var(--brand-dark);
  font-size: 3.6rem;
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.02rem;
}

.page-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.page-summary-card strong {
  color: var(--text);
  font-size: 1.05rem;
}

.page-summary-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-section {
  margin-bottom: 46px;
}

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

.page-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(42, 31, 90, 0.045);
}

.page-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.page-prose {
  display: grid;
  gap: 16px;
  max-width: 880px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page-prose p {
  margin-bottom: 0;
}

.page-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #dfd2ff;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 24px 0 32px;
  gap: 24px;
  border-top: 1px solid var(--border);
}

.site-footer p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted-soft);
  font-size: 0.84rem;
}

.site-version {
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .signal-console {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

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

  .page-hero {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 28px, var(--max-width));
    min-height: 0;
    padding: 16px 0;
  }

  .site-nav {
    justify-content: flex-start;
    font-size: 0.84rem;
  }

  .section-shell,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .hero-copy {
    min-height: auto;
    padding: 30px 22px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.28rem;
  }

  .page-hero {
    padding: 30px 22px;
  }

  .page-hero h1 {
    font-size: 2.7rem;
  }

  .signal-console {
    display: none;
  }

  .card-grid,
  .page-card-grid,
  .workflow-list {
    grid-template-columns: 1fr;
    padding-bottom: 36px;
  }

  .info-card,
  .workflow-list li {
    min-height: auto;
  }

  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .contact-line {
    width: 100%;
    justify-self: start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .site-nav {
    gap: 8px 12px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .info-card {
    padding: 74px 18px 54px;
  }
}
