:root {
  --primary: #1c3261;
  --secondary: #8bc242;
  --heading: #1d1729;
  --ink: #f7fbff;
  --muted: #6c6a72;
  --muted-dark: #b9c4d6;
  --surface: #ffffff;
  --surface-soft: #f4f2f9;
  --deep: #07111f;
  --deep-2: #0d1b31;
  --line: rgba(28, 50, 97, 0.13);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 26px 70px rgba(13, 27, 49, 0.18);
  --container: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Catamaran", Arial, sans-serif;
  color: var(--heading);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: min(1320px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: white;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 17, 31, 0.94);
  border-color: rgba(139, 194, 66, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(139, 194, 66, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(139, 194, 66, 0.5), rgba(28, 50, 97, 0.2) 45%, transparent 70%);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.05);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.brand-mark::before {
  width: 29px;
  height: 29px;
}

.brand-mark::after {
  width: 14px;
  height: 39px;
  transform: rotate(25deg);
}

.brand-mark span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 18px var(--secondary);
}

.brand strong {
  display: block;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.1;
}

.header-cta,
.btn-primary {
  color: #10220a;
  background: var(--secondary);
  box-shadow: 0 14px 28px rgba(139, 194, 66, 0.28);
}

.btn-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: white;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section {
  padding: 110px 0;
}

.section-dark {
  color: var(--ink);
  background: var(--deep);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 154px 0 48px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.9) 47%, rgba(7, 17, 31, 0.4) 100%),
    radial-gradient(circle at 78% 22%, rgba(139, 194, 66, 0.28), transparent 28%),
    radial-gradient(circle at 72% 80%, rgba(28, 50, 97, 0.82), transparent 42%),
    linear-gradient(135deg, #07111f 0%, #102141 56%, #1c3261 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 82px;
  align-items: center;
}

.overline {
  margin: 0 0 18px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 900;
}

.hero-lead {
  max-width: 660px;
  color: var(--muted-dark);
  font-size: 21px;
  line-height: 1.62;
}

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

.soc-console {
  min-height: 620px;
  padding: 22px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.console-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.console-top span:first-child {
  background: var(--secondary);
}

.console-top strong {
  margin-left: auto;
}

.risk-orbit {
  position: relative;
  display: grid;
  place-items: center;
  height: 330px;
  margin: 26px 0;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.ring-one {
  width: 270px;
  height: 270px;
  border-top-color: var(--secondary);
  animation: spin 15s linear infinite;
}

.ring-two {
  width: 190px;
  height: 190px;
  border-right-color: rgba(139, 194, 66, 0.88);
  animation: spin 11s linear infinite reverse;
}

.orbit-core {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(139, 194, 66, 0.54);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 194, 66, 0.26), rgba(28, 50, 97, 0.42));
  box-shadow: 0 0 70px rgba(139, 194, 66, 0.22);
}

.orbit-core span {
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.orbit-core small {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.signal-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.signal-list strong {
  color: white;
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.active {
  background: var(--secondary);
  box-shadow: 0 0 18px var(--secondary);
}

.warn {
  background: #f0b83a;
}

.safe {
  background: #50d6a3;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-metrics article {
  padding: 24px 28px;
}

.hero-metrics article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metrics strong {
  display: block;
  color: white;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.intro-section,
.ops-section {
  background: var(--surface-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 60px;
  align-items: start;
}

.section-heading p:not(.overline) {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
}

.centered {
  max-width: 830px;
  margin: 0 auto 48px;
  text-align: center;
}

.centered p:not(.overline) {
  margin-right: auto;
  margin-left: auto;
}

.reason-grid,
.services-grid,
.vendor-grid {
  display: grid;
  gap: 18px;
}

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

.reason-card,
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(28, 50, 97, 0.07);
}

.reason-card {
  padding: 30px;
}

.reason-card span,
.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(139, 194, 66, 0.16);
  font-weight: 900;
}

.reason-card p,
.service-card p,
.vendor-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.services-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 68%, var(--surface-soft) 100%);
}

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

.service-card {
  position: relative;
  min-height: 328px;
  padding: 30px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card small {
  display: block;
  margin-top: 22px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(139, 194, 66, 0.18), transparent 30%),
    linear-gradient(145deg, #07111f 0%, #0d1b31 45%, #1c3261 100%);
}

.portfolio-section .section-heading p:not(.overline) {
  color: var(--muted-dark);
}

.portfolio-split {
  grid-template-columns: 0.68fr 1.32fr;
  align-items: center;
}

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

.vendor-card {
  min-height: 174px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.vendor-card small {
  display: block;
  margin-bottom: 14px;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.vendor-card h3 {
  color: white;
}

.vendor-card p {
  color: var(--muted-dark);
}

.ops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 74px;
  align-items: center;
}

.ops-visual {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 38px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.flow-node {
  position: relative;
  z-index: 1;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: 6px;
  background: #fff;
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
}

.flow-node.high {
  border-left-color: #f0b83a;
}

.flow-node.safe {
  border-left-color: var(--secondary);
}

.flow-line {
  width: 2px;
  height: 28px;
  margin-left: 30px;
  background: linear-gradient(var(--primary), var(--secondary));
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--primary);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
}

.contact-section {
  padding: 112px 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.95), rgba(7, 17, 31, 0.82)),
    linear-gradient(135deg, #07111f, #1c3261);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 70px;
  align-items: center;
}

.contact-copy p:not(.overline) {
  max-width: 680px;
  color: var(--muted-dark);
  font-size: 20px;
}

.contact-panel {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.contact-panel small {
  display: block;
  color: var(--secondary);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-panel a,
.contact-panel p {
  display: block;
  margin: 4px 0 0;
  color: white;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #050c16;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a:not(.brand) {
  color: white;
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    justify-self: end;
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(7, 17, 31, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 8px;
  }

  .hero-grid,
  .split,
  .portfolio-split,
  .ops-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .soc-console {
    min-height: 520px;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    padding: 12px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 122px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-lead,
  .contact-copy p:not(.overline),
  .section-heading p:not(.overline) {
    font-size: 18px;
  }

  .hero-actions,
  .hero-metrics,
  .reason-grid,
  .services-grid,
  .vendor-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-metrics article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .section {
    padding: 76px 0;
  }

  .soc-console,
  .ops-visual,
  .contact-panel {
    padding: 22px;
  }

  .soc-console {
    min-height: 450px;
  }

  .risk-orbit {
    height: 250px;
  }

  .ring-one {
    width: 216px;
    height: 216px;
  }

  .ring-two {
    width: 150px;
    height: 150px;
  }

  .service-card {
    min-height: auto;
  }

  .footer-grid {
    justify-items: start;
  }
}
