/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Brand kit: Midnight, Blue, Teal, White, blue-to-teal gradient. Helvetica / Arial. */
:root {
  --midnight: #060B19;
  --midnight-soft: #0A1122;
  --surface: #0E162B;
  --surface-hover: #132039;
  --blue: #0064EF;
  --teal: #00C7C4;
  --white: #FFFFFF;
  --text: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(0, 199, 196, 0.35);
  --gradient: linear-gradient(45deg, var(--blue) 0%, var(--teal) 100%);
  --success: var(--teal);
  --error: #FF6B6B;
  --warning: #FFBD2E;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: var(--font);
  --radius: 12px;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px var(--border-strong), 0 12px 40px rgba(0, 100, 239, 0.18);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  color: var(--white);
  line-height: 1.6;
  background: var(--midnight);
}

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

ul, ol {
  list-style: none;
}

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

[hidden] {
  display: none !important;
}

/* Keyboard focus: visible ring on links, buttons and controls */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Spam trap: off screen for people, still filled in by bots */
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 760px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--white);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  color: var(--text);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 11, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links .nav-cta {
  background: var(--gradient);
  color: var(--midnight);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-links .nav-cta:hover {
  color: var(--midnight);
  filter: brightness(1.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 100, 239, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 85% 75%, rgba(0, 199, 196, 0.12) 0%, transparent 70%),
    var(--midnight);
  color: var(--white);
  padding: 120px 24px 40px;
  overflow: hidden;
}

/* Faint data grid, from the brand kit's dot-matrix visual element */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 199, 196, 0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

/* Logo plus tagline, matching the brand kit lockup. The tagline is live
   text so it stays readable; inside the PNG lockup it would be ~5px tall. */
.hero-lockup {
  margin-bottom: 40px;
}

.hero-logo {
  width: clamp(200px, 26vw, 260px);
  margin: 0 auto 8px;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  background: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-accent {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Control Tower dashboard mockup under the hero copy */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-top: 56px;
}

/* The hero dashboard is drawn larger, so its small labels can be bigger */
.hero-preview .mk-label {
  font-size: 10px;
}

.hero-preview {
  margin-bottom: 0;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0, 100, 239, 0.2);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--midnight);
  box-shadow: 0 8px 28px rgba(0, 100, 239, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 34px rgba(0, 199, 196, 0.35);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-full {
  width: 100%;
}

/* ===== SECTIONS ===== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--midnight-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-intro {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--teal);
  margin-bottom: 12px;
}

.narrow p {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Shared card surface */
.module,
.industry,
.founder,
.custom-list li,
.integration-group,
.ba-sources li,
.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.module,
.industry {
  transition: var(--transition);
}

.module:hover,
.industry:hover {
  background: var(--surface-hover);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* ===== SPLIT LAYOUT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.split p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ===== BEFORE / AFTER ===== */
.before-after {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 16px;
  align-items: center;
}

.ba-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.ba-tag-after {
  color: var(--teal);
}

.ba-sources li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Slightly out of line, like numbers scattered across tools */
.ba-sources li:nth-child(2) { margin-left: 18px; margin-right: -18px; }
.ba-sources li:nth-child(4) { margin-left: 10px; margin-right: -10px; }

.ba-src {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.ba-val {
  color: var(--text-muted);
  text-align: right;
}

.ba-arrow {
  height: 3px;
  border-radius: 2px;
  background: var(--gradient);
  position: relative;
}

.ba-arrow::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--teal);
  border-right: 3px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
}

.ba-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--glow);
  padding: 22px 24px;
}

.ba-card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.ba-results li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.ba-results strong {
  color: var(--white);
}

.ba-results .ba-warn {
  color: #FFBD2E;
}

/* ===== SECURITY ===== */
.security-item {
  position: relative;
  padding-top: 20px;
}

.security-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient);
}

.security-item::before {
  width: 48px;
}

/* ===== MODULES ===== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.module h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.module-lede {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.module-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.93rem;
  color: var(--text);
}

.module-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gradient);
}

/* Monitoring Agents: full-width row, mockup beside the text */
.module-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.module-wide .module-preview {
  order: 2;
  margin-bottom: 0;
}

.module-wide h3 {
  font-size: 1.4rem;
}

.modules-cta {
  margin-top: 36px;
  text-align: center;
}

.modules-cta a {
  color: var(--teal);
  font-weight: 600;
}

.modules-cta a::after {
  content: ' \2192';
}

.modules-cta a:hover {
  text-decoration: underline;
}

/* Module mockups: inline SVGs styled from the brand variables */
.mk-defs {
  position: absolute;
}

.module-preview {
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.module-preview svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font);
}

.mk-stop-blue { stop-color: var(--blue); }
.mk-stop-teal { stop-color: var(--teal); }
.mk-win { fill: var(--midnight); }
.mk-chrome { fill: var(--surface-hover); }
.mk-dot-r { fill: #FF5F57; }
.mk-dot-y { fill: #FFBD2E; }
.mk-dot-g { fill: #28C840; }
.mk-title { fill: var(--text-muted); font-size: 9px; }
.mk-label { fill: var(--text-muted); font-size: 7.5px; }
.mk-value { fill: var(--white); font-size: 8px; font-weight: 600; }
.mk-track { fill: rgba(255, 255, 255, 0.1); }
.mk-fill { fill: url(#mk-grad); }
.mk-grid { stroke: var(--border); stroke-width: 1; }
.mk-line { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mk-dash { stroke: var(--blue); stroke-dasharray: 4 3; }
.mk-today { stroke: var(--text-muted); stroke-width: 1; stroke-dasharray: 2 2; }
.mk-point { fill: var(--teal); }
.mk-point-warn, .mk-bar-warn { fill: #FFBD2E; }
.mk-point-bad, .mk-bar-bad { fill: var(--error); }
.mk-good, .mk-check { fill: var(--teal); }
.mk-warn { fill: #FFBD2E; }
.mk-bad { fill: var(--error); }
.mk-check { font-size: 10px; }
.mk-pill { fill: rgba(0, 199, 196, 0.12); stroke: var(--border-strong); }
.mk-pill-warn { fill: rgba(255, 189, 46, 0.12); stroke: rgba(255, 189, 46, 0.4); }
.mk-pill-text { fill: var(--teal); font-size: 7px; font-weight: 600; }
.mk-page { fill: var(--surface-hover); stroke: var(--border); }
.mk-row { fill: var(--surface); stroke: var(--border); }
.mk-side { fill: var(--midnight-soft); }
.mk-active { fill: rgba(0, 199, 196, 0.12); }
.mk-alert { fill: var(--midnight-soft); stroke: var(--border); }
.mk-md { font-size: 11px; }
.mk-lg { font-size: 12px; }
.mk-xl { font-size: 20px; font-weight: 700; }

/* ===== INTEGRATIONS ===== */
.integration-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.integration-group {
  padding: 22px 24px;
}

.integration-group h3 {
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--midnight-soft);
  font-size: 0.88rem;
  color: var(--white);
}

.chips .chip-more {
  border-style: dashed;
  background: none;
  color: var(--text-muted);
}

.integrations-note {
  text-align: center;
  margin-top: 28px;
  font-weight: 500;
  color: var(--white);
}

/* ===== INDUSTRIES ===== */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry {
  padding: 32px 28px;
}

.industry-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--teal);
}

.industry-link::after {
  content: ' \2192';
}

.industry-link:hover {
  text-decoration: underline;
}

/* ===== CUSTOM SOFTWARE ===== */
.custom-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-list li {
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  padding: 18px 20px;
  color: var(--text);
}

.custom-list strong {
  color: var(--white);
}

/* ===== DEMO BAND ===== */
.demo-band {
  padding: 56px 0;
  background: linear-gradient(90deg, rgba(0, 100, 239, 0.18) 0%, rgba(0, 199, 196, 0.12) 100%);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.demo-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.demo-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 6px;
}

.demo-band p {
  color: var(--text);
}

.demo-band .btn {
  flex-shrink: 0;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.steps-note {
  text-align: center;
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.security-header {
  margin-top: 96px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== ABOUT ===== */
.about-mark {
  width: 72px;
  margin-bottom: 24px;
}

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.founder {
  padding: 28px 24px;
}

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

.narrow .founder p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.founder-role {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 8px;
}

.narrow .founder .founder-edu {
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== CONTACT ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.contact-form-wrapper {
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--white);
  background: var(--midnight);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 199, 196, 0.18);
}

.form-group textarea {
  resize: vertical;
}

.form-error {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--error);
}

.form-error a {
  text-decoration: underline;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: var(--midnight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 1.4rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--midnight);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer p {
  color: var(--text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.6fr;
  gap: 30px;
  align-items: center;
}

.footer-logo {
  height: 46px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 6px;
}

.footer-brand .footer-tagline {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--teal);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-copy {
  text-align: right;
}

.footer-copy p {
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .modules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .module-wide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .module-wide .module-preview {
    order: 0;
    width: 100%;
    max-width: 520px;
    margin-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .industries,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .before-after {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ba-arrow {
    width: 3px;
    height: 48px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--blue) 0%, var(--teal) 100%);
  }

  .ba-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(-50%) rotate(135deg);
  }

  .ba-sources li:nth-child(n) {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--midnight);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-200%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .split,
  .contact-wrapper,
  .founders {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .security-header {
    margin-top: 64px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .section {
    padding: 68px 0;
  }

  /* The navbar already shows the logo; keep the headline above the fold */
  .hero-lockup {
    margin-bottom: 28px;
  }

  .hero-logo {
    width: 150px;
    margin-bottom: 6px;
  }

  .hero-tagline {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 600px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ===== 404 ===== */
.not-found {
  min-height: 70vh;
}

.not-found h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.not-found .hero-cta {
  margin-top: 32px;
}

/* ===== NONPROFIT PAGE (/nonprofit/) ===== */
.np-hero {
  display: block;
  min-height: 0;
  text-align: left;
  padding: 120px 0 0;
  background:
    radial-gradient(ellipse 50% 55% at 85% 15%, rgba(0, 100, 239, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 45% 35% at 10% 90%, rgba(0, 199, 196, 0.1) 0%, transparent 70%),
    var(--midnight);
}

.np-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.np-hero-copy h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  margin-bottom: 20px;
}

.np-hero-copy .hero-subtitle {
  max-width: 48ch;
  margin-bottom: 30px;
}

.np-micro {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Available-cash example panel */
.np-panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0, 100, 239, 0.2);
  overflow: hidden;
}

.np-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface-hover);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
}

.np-panel-head strong {
  color: var(--white);
}

.np-tag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.np-panel-body {
  display: grid;
  gap: 18px;
  padding: 16px 20px 20px;
}

.np-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
  color: var(--text);
}

.np-amt {
  font-weight: 600;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.np-minus .np-amt {
  color: #FFB4A0;
}

.np-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.np-total-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.np-total-label small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.np-total-value {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.np-alert {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 189, 46, 0.08);
  border: 1px solid rgba(255, 189, 46, 0.3);
}

.np-alert::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--warning);
}

.np-alert p {
  font-size: 0.86rem;
}

.np-alert strong {
  color: var(--white);
}

/* Proof strip under the hero */
.np-proof {
  position: relative;
  border-top: 1px solid var(--border);
}

.np-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.np-proof-grid > div {
  padding: 24px;
  border-left: 1px solid var(--border);
}

.np-proof-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.np-proof strong {
  display: block;
  color: var(--white);
}

.np-proof p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.np-live {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.np-live::before,
.np-live-line::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 199, 196, 0.18);
}

/* Three answers */
.np-h2 {
  max-width: 20ch;
}

.np-answers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.np-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
}

.np-answers h3 {
  font-size: 1.3rem;
}

.np-live-line {
  display: flex;
  gap: 14px;
  margin-top: 52px;
  padding: 22px 26px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.np-live-line::before {
  margin-top: 9px;
}

.np-live-line strong {
  color: var(--white);
}

/* Systems */
.np-chips {
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

/* Contact column */
.np-people {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.np-people li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.np-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-hover);
  border: 1px solid var(--border-strong);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
}

.np-people strong {
  display: block;
  color: var(--white);
}

.np-people small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.np-facts {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.np-facts li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.np-facts li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--teal);
}

.np-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.np-fine {
  margin-top: 12px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .np-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 768px) {
  .np-hero {
    padding-top: 100px;
  }

  .np-hero-grid {
    padding-bottom: 56px;
  }

  .np-proof-grid,
  .np-answers {
    grid-template-columns: 1fr;
  }

  .np-answers {
    gap: 28px;
  }

  .np-proof-grid > div {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .np-proof-grid > div:first-child {
    border-top: 0;
  }

  .np-live-line {
    padding: 18px 20px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .module:hover,
  .industry:hover {
    transform: none;
  }
}
