:root {
  --bg: #07080a; /* void — page background */
  --bg-raised: #12141a; /* cards, terminal, elevated panels */
  --bg-subtle: #1a1d26; /* chips, hover states */
  --border: #23262f; /* hairline dividers */
  --border-focus: #3d4251;

  --red: #b3404b; /* muted crimson — offensive / pentest */
  --red-soft: rgba(179, 64, 75, 0.14);
  --red-glow: rgba(179, 64, 75, 0.35);

  --blue: #3d7396; /* muted steel blue — defensive / sysadmin */
  --blue-soft: rgba(61, 115, 150, 0.14);
  --blue-glow: rgba(61, 115, 150, 0.35);

  --green: #4f8f68; /* muted forest green — analytical / data */
  --green-soft: rgba(79, 143, 104, 0.14);
  --green-glow: rgba(79, 143, 104, 0.35);

  --text: #e9e6dd; /* bone — primary text */
  --text-dim: #8c8e96; /* mist — secondary text */
  --text-muted: #5c5e66;

  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --header-h: 76px;
  --radius: 6px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
textarea,
select {
  font-family: var(--sans);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #000;
  padding: 8px 16px;
  z-index: 999;
  font-family: var(--mono);
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section {
  padding: 96px 0;
  position: relative;
}
.section-head {
  max-width: 700px;
  margin: 0 0 44px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "::";
  color: var(--red);
}
.eyebrow.blue::before {
  color: var(--blue);
}
.eyebrow.green::before {
  color: var(--green);
}

.section-head h2 {
  font-family: var(--mono);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.section-desc {
  color: var(--text-dim);
  font-size: 16px;
  margin-top: 14px;
  max-width: 640px;
}
.section-head.center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease,
    color 0.18s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--red);
  color: #07080a;
  border-color: var(--red);
  font-weight: 600;
}
.btn-primary:hover {
  background: #c64955;
  border-color: #c64955;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-blue {
  background: var(--blue);
  color: #07080a;
  font-weight: 600;
}
.btn-blue:hover {
  background: #4a8bb5;
}
.btn-green {
  background: var(--green);
  color: #07080a;
  font-weight: 600;
}
.btn-green:hover {
  background: #5da77a;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

/* Collaboration Badge & Link Styles */
.collab-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(179, 64, 75, 0.12);
  border: 1px solid rgba(179, 64, 75, 0.35);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  margin-bottom: 14px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.collab-badge:hover {
  background: rgba(179, 64, 75, 0.22);
  border-color: var(--red);
}
.collab-badge .collab-accent {
  color: var(--red);
  font-weight: 700;
}
.gopentest-link {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s;
}
.gopentest-link:hover {
  color: #e9e6dd;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(7, 8, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
}
.logo-bracket {
  color: var(--red);
}
.logo.small {
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 13.5px;
}
.nav-links a {
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.18s ease;
  position: relative;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-links a.active {
  color: var(--blue);
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}
.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 13.5px;
  cursor: pointer;
}

.dropdown-trigger:hover {
  color: var(--text);
}

.nav-item-dropdown.open .dropdown-trigger {
  color: var(--text);
}
.dropdown-chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  width: 250px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  z-index: 100;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-dim);
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-dropdown a:hover {
  background: var(--bg-subtle);
  color: var(--text);
}
.nav-dropdown a span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--sans);
  margin-top: 2px;
}

.dropdown-overview-link {
  border-top: 1px dashed var(--border);
  margin-top: 4px;
  padding-top: 8px !important;
  font-size: 12px !important;
  color: var(--blue) !important;
  font-weight: 500;
}

.nav-cta {
  background: transparent !important;
  border: 1px solid rgba(179, 64, 75, 0.75) !important;
  color: var(--text) !important;
  padding: 8px 18px !important;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease !important;
}
.nav-cta:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #07080a !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* View Management (Router simulation) */
.page-view {
  display: block;
  animation: fadeIn 0.25s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Homepage — Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  padding-bottom: 32px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 32px);
  min-height: calc(100dvh - var(--header-h) - 32px);
  padding-top: 20px;
  padding-bottom: 20px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 12% 24%,
      rgba(179, 64, 75, 0.22),
      transparent 42%
    ),
    radial-gradient(
      circle at 88% 75%,
      rgba(61, 115, 150, 0.25),
      transparent 46%
    );
  opacity: 0.55;
}
.hero-grid {
  display: block;
  max-width: 860px;
}
.hero-content h1 {
  font-family: var(--mono);
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--text);
}
.accent-blue {
  color: #4a8bb5;
}
.hero-lead {
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.62;
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
.hero-actions .btn-primary {
  background: var(--red);
  color: #07080a;
  border-color: var(--red);
  font-weight: 600;
}
.hero-actions .btn-primary:hover {
  background: #c64955;
  border-color: #c64955;
}
.hero-actions .btn-ghost {
  background: rgba(14, 16, 22, 0.7);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13.5px;
}
.hero-actions .btn-ghost:hover {
  border-color: #4a8bb5;
  color: #ffffff;
}
.hero-microcopy {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-microcopy .dot {
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   Trust Bar / Proof
   ========================================================================== */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #090b0f;
}
.trust-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}
.trust-icon {
  color: var(--red);
  font-weight: bold;
}
.trust-item.blue .trust-icon {
  color: var(--blue);
}
.trust-item.green .trust-icon {
  color: var(--green);
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.problem-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  transition: border-color 0.2s;
}
.problem-card:hover {
  border-color: var(--border-focus);
}
.problem-icon {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}
.problem-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.35;
}
.problem-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.problem-bridge {
  margin-top: 36px;
  text-align: center;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-raised);
  padding: 18px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.problem-bridge strong {
  color: var(--red);
}

/* ==========================================================================
   Three Core Services (Homepage Cards)
   ========================================================================== */
.services-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-summary-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.service-summary-card:hover {
  transform: translateY(-2px);
}
.card-secure {
  border-top: 3px solid var(--red);
}
.card-run {
  border-top: 3px solid var(--blue);
}
.card-understand {
  border-top: 3px solid var(--green);
}

.card-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.card-secure .card-label {
  color: var(--red);
}
.card-run .card-label {
  color: var(--blue);
}
.card-understand .card-label {
  color: var(--green);
}

.service-summary-card h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 14px;
}
.service-summary-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.service-features-mini {
  margin-bottom: 28px;
}
.service-features-mini li {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-cta-link {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.card-secure .service-cta-link {
  color: var(--red);
}
.card-run .service-cta-link {
  color: var(--blue);
}
.card-understand .service-cta-link {
  color: var(--green);
}
.service-summary-card:hover .service-cta-link {
  gap: 10px;
}

/* ==========================================================================
   Flagship Security Section ("Don't Just Scan. Understand.")
   ========================================================================== */
.security-spotlight {
  background:
    linear-gradient(135deg, rgba(179, 64, 75, 0.18) 0%, transparent 60%),
    var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.snapshot-notice {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  background: var(--bg);
  padding: 14px 18px;
  border-radius: 4px;
  border-left: 3px solid var(--red);
  line-height: 1.6;
}

/* ==========================================================================
   "Start Small" Progression
   ========================================================================== */
.stepper-horizontal {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
  position: relative;
}
.step-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
}
.step-item:first-child {
  border-color: var(--red);
  background: linear-gradient(
    180deg,
    var(--red-soft) 0%,
    var(--bg-raised) 100%
  );
}
.step-index {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.step-item h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-item p {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.45;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pricing-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 25px rgba(179, 64, 75, 0.15);
}
.featured-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  background: var(--red);
  color: #07080a;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.pricing-header h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 14px 0 8px;
}
.pricing-price small {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}
.pricing-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
  min-height: 48px;
}
.pricing-card .btn {
  width: 100%;
  margin-top: 18px;
}
.pricing-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ==========================================================================
   Who We Help + Partner Banner
   ========================================================================== */
.audiences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.audience-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.audience-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.audience-card p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
}

.partner-banner {
  margin-top: 40px;
  background:
    linear-gradient(90deg, rgba(179, 64, 75, 0.12), rgba(61, 115, 150, 0.12)),
    var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.partner-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.partner-text p {
  color: var(--text-dim);
  font-size: 14.5px;
  max-width: 600px;
}

/* ==========================================================================
   Why XANTUS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.pillar-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
}
.pillar-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue);
  margin-bottom: 8px;
  display: block;
}
.pillar-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pillar-card p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================================================================
   How We Work (6 Steps)
   ========================================================================== */
.steps-six {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.step-six-card {
  border-top: 2px solid var(--border);
  padding-top: 18px;
}
.step-six-card:hover {
  border-color: var(--blue);
}
.step-num-six {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
  display: block;
}
.step-six-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-six-card p {
  color: var(--text-dim);
  font-size: 12.8px;
  line-height: 1.5;
}

/* ==========================================================================
   Sample Finding Card
   ========================================================================== */
.sample-finding-container {
  max-width: 820px;
  margin: 40px auto 0;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.finding-header {
  padding: 16px 24px;
  background: #0d1017;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.finding-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-severity {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.badge-high {
  background: var(--red);
  color: #07080a;
}
.badge-medium {
  background: #cf893c;
  color: #07080a;
}
.badge-low {
  background: var(--blue);
  color: #07080a;
}
.finding-id {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}
.finding-status {
  font-family: var(--mono);
  font-size: 12px;
  color: #6fa37e;
  border: 1px solid rgba(111, 163, 126, 0.3);
  padding: 2px 8px;
  border-radius: 3px;
}
.finding-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.finding-row h4 {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.finding-row p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
}
.finding-code {
  background: #08090c;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  overflow-x: auto;
}

/* ==========================================================================
   Case Studies / Selected Work
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.case-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 26px;
}
.case-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.case-dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-item dt {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.case-item dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

/* ==========================================================================
   Technical Research / Content
   ========================================================================== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.research-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s;
}
.research-card:hover {
  border-color: var(--blue);
}
.research-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
}
.research-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}
.research-card p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.research-read {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Security Snapshot Banner & Form
   ========================================================================== */
.snapshot-section {
  background:
    linear-gradient(135deg, rgba(179, 64, 75, 0.18) 0%, transparent 60%),
    var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.snapshot-info h2 {
  font-family: var(--mono);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 16px;
}
.snapshot-info p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin-bottom: 20px;
}
.snapshot-notice {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  background: var(--bg);
  padding: 12px 16px;
  border-radius: 4px;
  border-left: 2px solid var(--red);
}

/* Form Styles */
.form-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-row label {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
}
.form-row input,
.form-row textarea,
.form-row select {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.18s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--blue);
  outline: none;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.checkbox-row input {
  margin-top: 4px;
  cursor: pointer;
}
.checkbox-row label {
  font-size: 12.5px;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1.45;
}

/* Dedicated Clean Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  font-family: var(--mono);
  font-size: 13.5px;
  color: #8c8e96;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #0d1016;
  border: 1px solid #1e222d;
  color: var(--text);
  padding: 13px 15px;
  border-radius: 4px;
  font-size: 14.5px;
  font-family: var(--sans);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.18s ease;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c8e96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: none;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.contact-form textarea::placeholder {
  color: #5c5e66;
  font-size: 14px;
}
.contact-form .btn-submit {
  align-self: flex-start;
  margin-top: 4px;
  background: var(--red);
  color: #07080a;
  border: none;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 4px;
  transition:
    background 0.18s ease,
    transform 0.15s ease;
}
.contact-form .btn-submit:hover {
  background: #c64955;
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .contact-form .btn-submit {
    width: 100%;
  }
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-red {
  border-top: 3px solid var(--red);
}
.team-blue {
  border-top: 3px solid var(--blue);
}
.team-green {
  border-top: 3px solid var(--green);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-red .team-avatar {
  border-color: var(--red);
}
.team-blue .team-avatar {
  border-color: var(--blue);
}
.team-green .team-avatar {
  border-color: var(--green);
}

.team-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.team-linkedin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-dim);
  margin-bottom: 16px;
  transition:
    color 0.18s,
    border-color 0.18s;
}
.team-linkedin svg {
  width: 15px;
  height: 15px;
}
.team-red .team-linkedin:hover {
  color: var(--red);
  border-color: var(--red);
}
.team-blue .team-linkedin:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.team-green .team-linkedin:hover {
  color: var(--green);
  border-color: var(--green);
}
.team-bio {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.58;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.faq-icon {
  color: var(--blue);
  font-size: 16px;
  transition: transform 0.2s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--red);
}
.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Final CTA & CRM Contact Form
   ========================================================================== */
.final-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  margin-top: 36px;
}
.contact-meta h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-meta p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 24px;
}
.direct-contact-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  padding: 20px 22px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.direct-contact-card h4 {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.direct-email {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--blue);
  font-weight: 600;
}
.direct-email:hover {
  color: var(--red);
}
.status-msg {
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 10px;
  min-height: 20px;
}
.status-msg.ok {
  color: #6fa37e;
}
.status-msg.err {
  color: var(--red);
}

/* ==========================================================================
   Dedicated Service Pages Styles
   ========================================================================== */
.service-page-hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}
.service-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#view-pentest .service-page-hero::before {
  background: radial-gradient(
    circle at 16% 32%,
    rgba(179, 64, 75, 0.2),
    transparent 48%
  );
}
#view-server .service-page-hero::before {
  background: radial-gradient(
    circle at 16% 32%,
    rgba(61, 115, 150, 0.2),
    transparent 48%
  );
}
#view-data .service-page-hero::before {
  background: radial-gradient(
    circle at 16% 32%,
    rgba(79, 143, 104, 0.2),
    transparent 48%
  );
}
.service-page-hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 40px);
  min-height: calc(100dvh - var(--header-h) - 40px);
  padding-top: 24px;
  padding-bottom: 24px;
  position: relative;
  z-index: 1;
}
.service-breadcrumb {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-breadcrumb a {
  color: var(--text-dim);
}
.service-breadcrumb a:hover {
  color: var(--text);
}
.service-page-hero h1 {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 700;
  max-width: 820px;
  margin-bottom: 18px;
}
.service-page-lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.service-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.service-nav-back:hover {
  color: var(--text);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.deliverable-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.deliverable-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.deliverable-card p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ==========================================================================
   About Section & Facts
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-top: 28px;
}
.about-text p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.68;
  margin-bottom: 16px;
}
.about-text p:last-child {
  margin-bottom: 0;
}
.about-facts {
  border-top: 1px solid var(--border);
}
.about-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.fact-label {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.fact-value {
  text-align: right;
  font-size: 14px;
  color: var(--text);
}

/* ==========================================================================
   Unique Cross-Platform CTA (Point 25)
   ========================================================================== */
.cross-cta-section {
  padding: 24px 0 72px;
}
.cross-cta-box {
  background:
    linear-gradient(
      135deg,
      rgba(179, 64, 75, 0.16) 0%,
      rgba(61, 115, 150, 0.12) 100%
    ),
    var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 40px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.cross-cta-text h2 {
  font-family: var(--mono);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.cross-cta-text p {
  color: var(--text-dim);
  font-size: 14.5px;
  max-width: 620px;
  line-height: 1.55;
}
.cross-cta-action .btn {
  padding: 14px 26px;
  font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: #050608;
  padding: 60px 0 36px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-dim);
  font-size: 13.5px;
  transition: color 0.18s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  order: 3;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stepper-horizontal {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-six {
    grid-template-columns: repeat(3, 1fr);
  }
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .audiences-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  section {
    padding: 72px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-terminal {
    display: none;
  }
  .services-triad {
    grid-template-columns: 1fr;
  }
  .problems-grid {
    grid-template-columns: 1fr;
  }
  .snapshot-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .final-contact-grid {
    grid-template-columns: 1fr;
  }
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .research-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
  .cross-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 70px;
  }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 8, 10, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 28px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links > a {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-item-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .dropdown-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 4px;
    font-family: var(--mono);
    font-size: 14px;
    color: var(--text-dim);
    cursor: pointer;
    user-select: none;
  }
  .dropdown-trigger:hover,
  .nav-item-dropdown.open .dropdown-trigger {
    color: var(--text);
  }
  .dropdown-chevron {
    font-size: 11px;
    color: var(--blue);
    transition: transform 0.22s ease;
  }
  .nav-dropdown {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #0d1016;
    border: 1px solid var(--border);
    border-left: 2px solid var(--blue);
    border-radius: var(--radius);
    padding: 6px;
    box-shadow: none;
    margin: 4px 0 14px;
  }
  .nav-item-dropdown.open .nav-dropdown {
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: fadeIn 0.2s ease-out;
  }
  .nav-item-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
  }
  .nav-dropdown a {
    padding: 10px 12px;
    border-radius: 4px;
    border-bottom: none !important;
    display: block;
  }
  .nav-dropdown a:hover,
  .nav-dropdown a:active {
    background: var(--bg-subtle);
  }
  .nav-cta {
    margin-top: 14px;
    text-align: center;
  }
  .nav-toggle {
    display: flex;
  }
  .form-row.two-cols {
    grid-template-columns: 1fr;
  }
  .stepper-horizontal {
    grid-template-columns: 1fr;
  }
  .steps-six {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .audiences-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .security-flow {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Multi-page refinements
   ========================================================================== */
.page-shell {
  animation: pageIn 0.25s ease-out;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-brand-note {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  margin-left: 10px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 12px;
}
.hero-proof span::before {
  content: "+";
  color: var(--red);
  margin-right: 6px;
}
.service-link-grid {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.service-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--red);
}
.service-link-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.service-link-card p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.inline-note {
  color: var(--text-dim);
  font-size: 13px;
  font-family: var(--mono);
  margin-top: 16px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.proof-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.proof-card h3 {
  font-size: 15.5px;
  margin-bottom: 8px;
}
.proof-card p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 920px) {
  .service-link-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }
}
