:root {
  --ink: #020912;
  --ink-2: #071523;
  --panel: #0d1c2a;
  --panel-2: #122638;
  --line: #294154;
  --steel: #d8e1e9;
  --muted: #8aa0b2;
  --cyan: #05c7f2;
  --cyan-2: #0a8ed5;
  --green: #12d987;
  --red: #ff4d4d;
  --amber: #ffd166;
  --white: #f7fbff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 9, 18, 0.72), rgba(2, 9, 18, 0.98)),
    #020912;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 199, 242, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 225, 233, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 70px);
  border-bottom: 1px solid rgba(216, 225, 233, 0.12);
  background: rgba(2, 9, 18, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(5, 199, 242, 0.26);
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
.header-action {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

nav a:hover {
  color: var(--white);
}

.header-action {
  min-width: max-content;
  padding: 10px 16px;
  border: 1px solid rgba(5, 199, 242, 0.42);
  border-radius: 6px;
  color: var(--cyan);
  font-weight: 500;
}

.header-action:hover {
  background: rgba(5, 199, 242, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  min-height: calc(88vh - 78px);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 70px) clamp(34px, 5vw, 58px);
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(4.2rem, 12vw, 10.6rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(5, 199, 242, 0.22);
}

h2 {
  margin-bottom: 18px;
  max-width: 840px;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--steel);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  color: #b7c9d8;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: none;
}

.button-primary {
  border: 1px solid rgba(5, 199, 242, 0.72);
  color: #00101a;
  background: var(--cyan);
}

.button-primary:hover {
  background: #64e8ff;
}

.button-secondary {
  border: 1px solid rgba(216, 225, 233, 0.28);
  color: var(--steel);
  background: rgba(216, 225, 233, 0.06);
}

.button-secondary:hover {
  border-color: rgba(216, 225, 233, 0.56);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-row span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--green);
  box-shadow: 0 0 16px rgba(18, 217, 135, 0.72);
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.sentinel-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(55%, 550px);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: filter;
  filter:
    drop-shadow(0 0 18px rgba(5, 199, 242, 0.55))
    drop-shadow(0 0 44px rgba(5, 199, 242, 0.32))
    drop-shadow(0 24px 60px rgba(5, 199, 242, 0.18));
}

.hero-visual::before {
  position: absolute;
  inset: 9% 9% 11%;
  content: "";
  border: 1px solid rgba(216, 225, 233, 0.16);
  border-radius: 8px;
  background: rgba(13, 28, 42, 0.45);
  box-shadow: var(--shadow);
  transform: skewY(-3deg);
}

.review-console {
  position: absolute;
  right: 0;
  bottom: 26px;
  z-index: 3;
  width: min(58%, 370px);
  padding: 18px;
  border: 1px solid rgba(216, 225, 233, 0.2);
  border-radius: 8px;
  background: rgba(4, 12, 22, 0.82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.console-top {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.console-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel);
  opacity: 0.7;
}

.diff-line {
  width: 100%;
  height: 10px;
  margin: 11px 0;
  border-radius: 999px;
  background: var(--cyan-2);
}

.diff-line.short {
  width: 58%;
}

.diff-line.medium {
  width: 78%;
}

.diff-line.add {
  background: var(--green);
}

.diff-line.warn {
  width: 68%;
  background: var(--amber);
}

.diff-line.remove {
  width: 88%;
  background: var(--red);
}

.inline-note {
  margin: 16px 0;
  padding: 14px;
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  color: #cfe3f1;
  background: rgba(5, 199, 242, 0.09);
}

.inline-note strong {
  color: var(--cyan);
  font-size: 0.82rem;
}

.inline-note p {
  margin: 7px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-block: 1px solid rgba(216, 225, 233, 0.14);
  background: rgba(216, 225, 233, 0.12);
}

.status-band div {
  padding: clamp(24px, 4vw, 42px) clamp(18px, 5vw, 70px);
  background: rgba(4, 12, 22, 0.88);
}

.status-band strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
}

.status-band span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.product-flow,
.model-band,
.review-stage,
.cta {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 950px;
  margin-bottom: clamp(34px, 6vw, 64px);
}

.workflow-grid,
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-item,
.model-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(216, 225, 233, 0.14);
  border-radius: 8px;
  background: rgba(13, 28, 42, 0.74);
}

.workflow-item p,
.model-grid p,
.stage-copy p,
.cta p {
  color: #aabccb;
  line-height: 1.68;
}

.step {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 900;
}

.workflow-item:nth-child(2) .step,
.model-grid article:nth-child(2) h3 {
  color: var(--amber);
}

.workflow-item:nth-child(3) .step,
.model-grid article:nth-child(3) h3 {
  color: var(--green);
}

.review-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(330px, 1.22fr);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  background: #06111d;
}

.stage-copy {
  max-width: 610px;
}

.pr-panel {
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid rgba(216, 225, 233, 0.16);
  border-radius: 8px;
  background: #091827;
  box-shadow: var(--shadow);
}

.pr-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(216, 225, 233, 0.12);
}

.branch {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.status-pill {
  min-width: max-content;
  padding: 8px 11px;
  border: 1px solid rgba(18, 217, 135, 0.36);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comment-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.comment {
  padding: 18px;
  border: 1px solid rgba(216, 225, 233, 0.12);
  border-radius: 8px;
  background: rgba(216, 225, 233, 0.045);
}

.comment span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comment p {
  margin: 0;
  color: #c1d1dd;
  line-height: 1.58;
}

.severity-high span {
  color: var(--red);
}

.severity-medium span {
  color: var(--amber);
}

.severity-low span {
  color: var(--green);
}

.model-band {
  background:
    linear-gradient(180deg, rgba(5, 199, 242, 0.035), transparent 46%),
    var(--ink);
}

.model-grid {
  grid-template-columns: repeat(4, 1fr);
}

.model-grid article {
  min-height: 210px;
}

.model-grid article:first-child h3,
.model-grid article:nth-child(4) h3 {
  color: var(--cyan);
}

.cta {
  min-height: 68vh;
  display: grid;
  align-content: center;
  justify-items: start;
  background:
    linear-gradient(90deg, rgba(2, 9, 18, 0.96), rgba(2, 9, 18, 0.76)),
    url("assets/code-sentinel.png") right 4vw center / min(48vw, 500px) no-repeat,
    #020912;
}

.cta p {
  max-width: 620px;
  font-size: 1.08rem;
}

.cta .button {
  margin-top: 16px;
}

@media (max-width: 1040px) {
  .hero,
  .review-stage {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .cta {
    background:
      linear-gradient(90deg, rgba(2, 9, 18, 0.97), rgba(2, 9, 18, 0.85)),
      url("assets/code-sentinel.png") right -14vw center / min(70vw, 520px) no-repeat,
      #020912;
  }
}

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

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

  h1 {
    font-size: clamp(3.25rem, 17vw, 5.8rem);
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .sentinel-logo {
    width: min(88%, 360px);
  }

  .review-console {
    width: min(84%, 330px);
    right: 6px;
    bottom: 0;
  }

  .status-band,
  .workflow-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .status-band div {
    padding-inline: 22px;
  }

  .workflow-item,
  .model-grid article {
    min-height: 0;
  }

  .step {
    margin-bottom: 28px;
  }

  .pr-header {
    display: block;
  }

  .status-pill {
    display: inline-flex;
    margin-top: 14px;
  }

  .cta {
    min-height: 620px;
    background:
      linear-gradient(180deg, rgba(2, 9, 18, 0.98), rgba(2, 9, 18, 0.84)),
      url("assets/code-sentinel.png") center bottom 24px / min(82vw, 390px) no-repeat,
      #020912;
    align-content: start;
  }
}

@media (max-width: 470px) {
  .brand span {
    max-width: 128px;
  }

  .header-action {
    padding-inline: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
    gap: 10px;
  }

  .review-console {
    position: relative;
    width: 100%;
    margin-top: -44px;
    right: auto;
    bottom: auto;
  }
}
