/* Edge Fortify — site styles. No external fonts or frameworks. */
:root {
  --navy-950: #050c18;
  --navy-900: #0a1628;
  --navy-850: #0d1c33;
  --navy-800: #11233f;
  --navy-700: #1a3050;
  --line: #22385a;
  --teal: #2dd4bf;
  --teal-strong: #14b8a6;
  --cyan: #1cd1fc;
  --text: #e6edf6;
  --muted: #a9b8cc;
  --radius: 14px;
  --maxw: 1180px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-900);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--teal); color: var(--navy-950); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--navy-950); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 12, 24, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 170px; height: auto; }
.nav-toggle {
  display: none; background: transparent; color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: .45rem .8rem; font: inherit; font-size: .95rem; cursor: pointer;
}
.nav-toggle-icon { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; vertical-align: middle; margin-right: .45rem; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle-icon::before { top: -6px; } .nav-toggle-icon::after { top: 6px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.site-nav a {
  display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .98rem;
}
.site-nav a:hover { background: var(--navy-800); color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.site-nav a.nav-cta { background: var(--teal); color: var(--navy-950); font-weight: 600; margin-left: .4rem; border-radius: 8px; }
.site-nav a.nav-cta:hover { background: var(--cyan); }
.site-nav a.nav-cta[aria-current="page"] { box-shadow: none; }

@media (max-width: 900px) {
  .brand img { width: 150px; }
  .site-nav { width: 100%; }
  .site-nav ul { padding-bottom: .75rem; }
  /* JS-enhanced collapsible menu (main.js adds .js-nav to <html>) */
  .js-nav .nav-toggle { display: inline-block; }
  .js-nav .site-nav { display: none; }
  .js-nav .site-nav.is-open { display: block; }
  .js-nav .site-nav ul { flex-direction: column; align-items: stretch; }
  .js-nav .site-nav a.nav-cta { margin: .4rem 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.4rem; border-radius: 10px; font-weight: 650; text-decoration: none;
  border: 2px solid var(--teal); transition: background .15s, color .15s, border-color .15s; cursor: pointer; font: inherit; font-weight: 650;
}
.btn-primary { background: var(--teal); color: var(--navy-950); }
.btn-primary:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy-950); }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: rgba(45, 212, 191, .12); color: var(--teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--navy-850); border-block: 1px solid var(--line); }
.eyebrow { color: var(--teal); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; margin-bottom: .75rem; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-950) url("/assets/img/hero-control-room.jpg") center / cover no-repeat;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 24, .95) 0%, rgba(5, 12, 24, .82) 45%, rgba(5, 12, 24, .45) 100%);
}
.hero .container { position: relative; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: #c9d6e6; }

.page-hero { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }

/* Cards & grids */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.card {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column;
}
.card h3 { color: var(--text); }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.card-accent { border-top: 3px solid var(--teal); }
.num { color: var(--teal); font-weight: 750; font-size: 1.05rem; letter-spacing: .06em; margin-bottom: .4rem; }
.tag { display: inline-block; margin-top: auto; font-size: .88rem; color: var(--teal); background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .35); padding: .25rem .65rem; border-radius: 999px; align-self: flex-start; }

.industry-icon { width: 56px; height: 56px; border-radius: 12px; margin-bottom: 1rem; border: 1px solid var(--line); }
.industry-card { padding: 0; overflow: hidden; }
.industry-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.industry-card .card-body { padding: 1.4rem 1.5rem 1.6rem; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } .split.reverse > :first-child { order: 2; } }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 2rem; font-size: 1.15rem; font-weight: 600; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .18);
}

/* Tenable partner callout */
.partner-band { background: linear-gradient(90deg, var(--teal-strong), var(--cyan)); color: var(--navy-950); padding: 1.4rem 0; }
.partner-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.partner-band p { margin: 0; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.partner-band a { color: var(--navy-950); font-weight: 700; }
.partner-band .btn { border-color: var(--navy-950); color: var(--navy-950); background: transparent; }
.partner-band .btn:hover { background: var(--navy-950); color: var(--teal); }

/* CTA band */
.cta-band { text-align: center; background: radial-gradient(ellipse at top, var(--navy-700), var(--navy-950) 70%); border-top: 1px solid var(--line); }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .8fr 1.2fr; } }
.contact-methods { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-methods li { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.contact-methods .label { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem; }
.contact-methods a { font-size: 1.2rem; font-weight: 650; word-break: break-word; }
.form-card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label { font-weight: 600; margin-bottom: .35rem; font-size: .97rem; }
.field .req { color: var(--teal); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--navy-950); border: 1px solid var(--line); border-radius: 10px;
  padding: .75rem .9rem; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid rgba(45, 212, 191, .35); outline-offset: 1px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .92rem; margin-top: 1rem; }
.notice { border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; border: 1px solid var(--line); background: var(--navy-950); }
.notice[hidden] { display: none; }
.notice-success { border-color: var(--teal); }
.notice-error { border-color: #f59e0b; }

/* Footer */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 3rem 0 2rem; color: var(--muted); font-size: .97rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.footer-logo { width: 170px; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .9rem; }

/* 404 */
.error-page { text-align: center; padding: clamp(5rem, 14vw, 9rem) 0; }
.error-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: .5rem; }
.error-page .btn-row { justify-content: center; }

.h3-like { font-size: 1.25rem; }
.error-page .lead, .cta-band .lead { margin-inline: auto; }
a[href^="tel:"] { white-space: nowrap; }
