:root {
  --ink: #1E1B4B;
  --muted: #595475;
  --paper: #f6f4ff;
  --panel: #ffffff;
  --line: rgba(30, 27, 75, 0.14);
  --primary: #6366F1;
  --accent: #A855F7;
  --white: #FFFFFF;
  --dark: #1E1B4B;
  --shadow: 0 22px 70px rgba(30, 27, 75, 0.16);
  --font-body: "Raleway", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Raleway", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(30, 27, 75, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.panel-header,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-nav {
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  color: #352f68;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

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

.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  white-space: nowrap;
}

.header-action,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 32px rgba(99, 102, 241, 0.24);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  min-height: 92svh;
  padding: 140px clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.threat-map,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.threat-map {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 28%, rgba(168, 85, 247, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(30, 27, 75, 0.97), rgba(30, 27, 75, 0.72) 48%, rgba(30, 27, 75, 0.42)),
    linear-gradient(0deg, rgba(30, 27, 75, 0.96), rgba(30, 27, 75, 0.1) 48%, rgba(30, 27, 75, 0.62));
}

.hero-content,
.signal-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d8c7ff;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.page-main {
  min-height: calc(100svh - 81px);
  padding-top: 72px;
}

.page-main h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.96;
}

.page-hero {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 84px);
  background: linear-gradient(135deg, #ffffff, #eeecff);
  border-bottom: 1px solid var(--line);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

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

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.signal-panel {
  align-self: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
}

.panel-header {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-header span {
  color: rgba(255, 255, 255, 0.66);
}

.panel-header strong {
  color: #ffffff;
}

.risk-meter {
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.risk-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent), #ffffff);
}

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

.signal-grid div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(11, 17, 23, 0.36);
}

.signal-grid dt {
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.signal-grid dd {
  margin: 9px 0 0;
  font-size: 1.55rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 18px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 8px;
}

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

.service-card,
.timeline article,
.industry-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.03);
}

.service-card {
  min-height: 246px;
  padding: 26px;
}

.service-card span[class^="icon"] {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 2px solid currentColor;
  border-radius: 8px;
  color: var(--primary);
}

.service-card:nth-child(2n) span[class^="icon"] {
  color: var(--accent);
}

.service-card:nth-child(3n) span[class^="icon"] {
  color: var(--ink);
}

.icon-shield::after,
.icon-bolt::after,
.icon-scope::after,
.icon-cloud::after,
.icon-file::after,
.icon-lock::after,
.icon-docs::after,
.icon-risk::after,
.icon-impact::after,
.icon-continuity::after,
.icon-check::after,
.icon-launch::after,
.icon-learning::after,
.icon-dashboard::after {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.icon-shield::after { content: "M"; }
.icon-bolt::after { content: "!"; }
.icon-scope::after { content: "+"; }
.icon-cloud::after { content: "~"; }
.icon-file::after { content: "#"; }
.icon-lock::after { content: "*"; }
.icon-docs::after { content: "P"; }
.icon-risk::after { content: "R"; }
.icon-impact::after { content: "B"; }
.icon-continuity::after { content: "C"; }
.icon-check::after { content: "/"; }
.icon-launch::after { content: "^"; }
.icon-learning::after { content: "?"; }
.icon-dashboard::after { content: "%"; }

.service-card-featured {
  color: #fff;
  background: linear-gradient(135deg, var(--dark), var(--primary) 58%, var(--accent));
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.86);
}

.service-card-featured span[class^="icon"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 96px);
  background: #eeecff;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 18px;
  padding: 22px;
}

.timeline span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--primary));
  border-radius: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.timeline p,
.industry-list p,
.service-card p {
  margin-bottom: 0;
}

.industries {
  background: var(--ink);
  color: #fff;
}

.industries p,
.industries .eyebrow {
  color: #e9dcff;
}

.section-heading.compact {
  display: block;
  max-width: 920px;
}

.section-heading.compact .eyebrow {
  margin-bottom: 16px;
}

.section-heading.compact h1 {
  margin-bottom: 22px;
}

.section-heading.compact p:not(.eyebrow) {
  max-width: 860px;
  margin-bottom: 0;
  color: #f4efff;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.section-heading.compact strong {
  color: #ffffff;
  font-weight: 600;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.industry-list article {
  min-height: 190px;
  padding: clamp(24px, 3vw, 34px);
  color: var(--ink);
}

.industry-list h3 {
  margin-bottom: 14px;
}

.industry-list p {
  color: var(--muted);
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

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

.contact-points li {
  padding-left: 24px;
  position: relative;
  color: #383166;
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid rgba(30, 27, 75, 0.18);
  border-radius: 8px;
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-header.open .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

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

  .menu-button {
    display: grid;
    place-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .hero,
  .section-heading,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .signal-panel {
    align-self: auto;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .button,
  .header-action {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .industry-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline span {
    grid-row: auto;
    margin-bottom: 14px;
  }

  .site-footer {
    display: grid;
  }
}
