:root {
  color-scheme: dark light;
  --bg: #0a1320;
  --bg-soft: #f1f4f9;
  --surface: #ffffff;
  --surface-dark: #101b2d;
  --text: #111827;
  --text-soft: #56657e;
  --line: #d7dfea;
  --brand: #2b65d9;
  --brand-strong: #1d4aa9;
  --brand-soft: #dbe8ff;
  --hero-text: #ecf3ff;
  --hero-soft: #c5d8f9;
  --radius: 14px;
  --shadow-soft: 0 12px 26px rgba(16, 29, 52, 0.08);
  --shadow-strong: 0 28px 56px rgba(6, 14, 28, 0.34);
  --hero-shift: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg-soft);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 1200;
  background: #fff;
  color: #111827;
  border: 2px solid var(--brand);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.skip-link:focus-visible {
  top: 0.75rem;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  border-bottom: 1px solid rgba(187, 202, 228, 0.38);
  background: rgba(7, 13, 23, 0.72);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: #f3f7ff;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.header-actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

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

.btn:focus-visible {
  outline: 3px solid rgba(43, 101, 217, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(165deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  box-shadow: 0 11px 26px rgba(31, 78, 172, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(165deg, #3573eb 0%, #2558c1 100%);
}

.btn-secondary {
  background: #fff;
  color: #14253f;
  border-color: #cfdaec;
}

.btn-secondary:hover {
  border-color: #b9c9e4;
  background: #f8fbff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #d5e3fb;
  border-color: rgba(174, 196, 230, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-lg {
  padding: 0.74rem 1.2rem;
}

.hero-cinematic {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, #070d17 0%, #0a1422 40%, #0e1b2e 100%);
  padding: clamp(3rem, 5vw, 5.2rem) 0 3.2rem;
}

.hero-layer {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  pointer-events: none;
  transform: translateY(var(--hero-shift));
}

.hero-layer-1 {
  width: min(520px, 50vw);
  aspect-ratio: 1;
  left: -15%;
  top: -24%;
  background: radial-gradient(circle, rgba(56, 112, 214, 0.42) 0%, rgba(56, 112, 214, 0) 72%);
}

.hero-layer-2 {
  width: min(460px, 46vw);
  aspect-ratio: 1;
  right: -16%;
  bottom: -36%;
  background: radial-gradient(circle, rgba(33, 79, 170, 0.36) 0%, rgba(33, 79, 170, 0) 72%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(to right, rgba(176, 198, 233, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(176, 198, 233, 0.2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 10%, #000 0%, rgba(0, 0, 0, 0) 78%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.3rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #9ec0f3;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

h1 {
  margin-bottom: 1rem;
  color: var(--hero-text);
  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
  max-width: 15.5ch;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.hero-copy .lead {
  color: var(--hero-soft);
  max-width: 66ch;
  font-size: 1.06rem;
}

.hero-cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.84rem;
}

.hero-inline-metrics {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
}

.hero-inline-metrics li {
  border: 1px solid rgba(166, 190, 228, 0.24);
  border-radius: 11px;
  padding: 0.8rem 0.9rem;
  background: rgba(11, 20, 34, 0.52);
  display: grid;
  gap: 0.18rem;
}

.hero-inline-metrics strong {
  color: #edf3ff;
  font-size: 0.92rem;
}

.hero-inline-metrics span {
  color: #bed1f3;
  font-size: 0.84rem;
}

.hero-console {
  border-radius: 15px;
  border: 1px solid rgba(173, 194, 228, 0.27);
  background: linear-gradient(170deg, rgba(16, 26, 42, 0.92) 0%, rgba(12, 21, 35, 0.95) 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(173, 194, 228, 0.2);
  padding: 0.72rem 0.86rem;
  color: #cde0ff;
  font-size: 0.84rem;
}

.console-top strong {
  margin-left: 0.3rem;
  letter-spacing: 0.02em;
}

.console-feed-viewport {
  max-height: 232px;
  overflow: hidden;
  position: relative;
}

.console-feed-viewport::before,
.console-feed-viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  pointer-events: none;
  z-index: 1;
}

.console-feed-viewport::before {
  top: 0;
  background: linear-gradient(180deg, rgba(12, 21, 35, 0.98) 0%, rgba(12, 21, 35, 0) 100%);
}

.console-feed-viewport::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(12, 21, 35, 0.98) 0%, rgba(12, 21, 35, 0) 100%);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dot-red {
  background: #e05c66;
}

.dot-amber {
  background: #d9a53a;
}

.dot-green {
  background: #51bb7a;
}

.console-feed {
  list-style: none;
  margin: 0;
  padding: 0.84rem;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  animation: consoleFeedUp 12s linear infinite;
  will-change: transform;
}

.console-feed li {
  margin: 0;
  border: 1px solid rgba(181, 202, 237, 0.17);
  border-radius: 9px;
  background: rgba(16, 29, 48, 0.54);
  padding: 0.58rem 0.66rem;
  color: #dbe7ff;
  font-size: 0.88rem;
  min-height: 44px;
}

.hero-console:hover .console-feed {
  animation-play-state: paused;
}

@keyframes consoleFeedUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  border-radius: 6px;
  padding: 0.16rem 0.4rem;
  margin-right: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.status-ok {
  background: rgba(61, 173, 102, 0.2);
  color: #7be2a4;
}

.status-fail {
  background: rgba(225, 92, 102, 0.24);
  color: #ff9ca6;
}

.status-alert {
  background: rgba(234, 176, 77, 0.22);
  color: #f7cc84;
}

.section {
  padding: clamp(2.7rem, 4vw, 4.6rem) 0;
}

.story {
  background: #f7f9fd;
}

.story-shell {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 1.4rem;
  align-items: start;
}

.story-sticky {
  position: sticky;
  top: 96px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
}

.story-sticky p {
  color: #5a6a82;
}

.section-label {
  margin-bottom: 0.68rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--brand);
}

.story-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.94rem;
}

.story-step {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.step-index {
  margin: 0 0 0.5rem;
  color: var(--brand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

.incident-strip {
  overflow: hidden;
  border-top: 1px solid #cad5e8;
  border-bottom: 1px solid #cad5e8;
  background: #0f1c30;
}

.incident-track {
  display: flex;
  gap: 2.1rem;
  width: max-content;
  padding: 0.72rem 0;
  color: #d8e7ff;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: incidentMarquee 24s linear infinite;
}

.incident-track span::before {
  content: "\2022";
  color: #75a3f5;
  margin-right: 0.55rem;
}

@keyframes incidentMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-alt {
  background: #eef3fb;
  border-top: 1px solid #d8e0ed;
  border-bottom: 1px solid #d8e0ed;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.05rem;
  box-shadow: var(--shadow-soft);
}

.section-intro {
  margin: 0 0 1rem;
  max-width: 64ch;
}

.split-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.84rem;
}

.form-grid label {
  display: grid;
  gap: 0.34rem;
  font-weight: 600;
  color: #1b2c46;
}

.form-grid input {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.55rem 0.72rem;
  font: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.form-grid input:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(43, 101, 217, 0.15);
}

.form-feedback {
  margin: 0;
  color: #5e6f89;
}

.cta {
  background: linear-gradient(180deg, #f7f9fd 0%, #edf2fa 100%);
}

.cta-box {
  border-radius: 18px;
  border: 1px solid #cdd8ea;
  background: linear-gradient(170deg, #111f34 0%, #173054 100%);
  padding: clamp(1.55rem, 3vw, 2.35rem);
  box-shadow: var(--shadow-strong);
}

.cta-box h2,
.cta-box p {
  color: #eaf2ff;
}

.cta-box p {
  max-width: 62ch;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 420ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .story-sticky {
    position: static;
  }

  .hero-inline-metrics,
  .proof-grid,
  .split-forms {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.72rem 0;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-inline-metrics,
  .proof-grid,
  .split-forms {
    grid-template-columns: 1fr;
  }

  .surface,
  .story-step {
    padding: 0.95rem;
  }

  .incident-track {
    animation-duration: 34s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
  }

  .console-feed {
    animation: none;
  }
}
