/* =========================================================
   SECURE IT — design system
   Direction: "systems status board" — calm, ordered, legible.
   Grounded in the actual monitoring dashboards an MSP watches
   all day: pulsing status dots, mono data labels, hairline
   rules, no stock padlock-hologram imagery, no gradient hero.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Color */
  --paper: #FAFAF8;
  --paper-dim: #F1F1EE;
  --card: #FFFFFF;
  --ink: #14181F;
  --ink-soft: #5B6470;
  --line: #E1E4E9;
  --line-strong: #CBD0D8;
  --navy: #1C2B4A;
  --navy-2: #142038;
  --navy-ink: #E8ECF3;
  --signal-green: #2F9E63;
  --signal-green-bg: #E7F5ED;
  --amber: #C97A1E;
  --amber-bg: #FBEEDD;
  --amber-strong: #A8621A;

  /* Type */
  --font-display: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  /* Layout */
  --wrap: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-green);
  flex-shrink: 0;
}

/* Buttons ------------------------------------------------ */

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy);
  color: var(--navy-ink);
}
.btn-primary:hover { background: var(--navy-2); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-amber {
  background: var(--amber-bg);
  color: var(--amber-strong);
  border-color: var(--amber-bg);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.btn-amber:hover { background: #F5DCB8; }

.btn-amber-solid {
  background: var(--amber-strong);
  color: #FFF8EF;
}
.btn-amber-solid:hover { background: #8F5316; }

.btn-block { width: 100%; justify-content: center; }

/* Nav ----------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.01em;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal-green);
  box-shadow: 0 0 0 3px var(--signal-green-bg);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--amber-strong);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 38px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}

#mobileMenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

#mobileMenu ul {
  list-style: none;
  margin: 0;
  padding: 6px 28px 18px;
  display: flex;
  flex-direction: column;
}

#mobileMenu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-right .btn-amber span.btn-label-long { display: none; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

/* Hero ---------------------------------------------------- */

.hero {
  padding: 76px 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  margin: 18px 0 20px;
}

.hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Signature element: status board -------------------------- */

.status-board {
  background: var(--navy);
  border-radius: 6px;
  padding: 22px;
  color: var(--navy-ink);
  box-shadow: 0 24px 48px -24px rgba(20, 30, 55, 0.45);
}

.status-board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(232, 236, 243, 0.14);
}

.status-board-head .title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 236, 243, 0.6);
}

.status-board-head .clock {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(232, 236, 243, 0.4);
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(232, 236, 243, 0.08);
}

.status-row:last-child { border-bottom: none; }

.status-row .name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.status-row .name .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse-dot 2.6s ease-in-out infinite;
  flex-shrink: 0;
}

.status-row .name .dot.amber { background: #F5B860; box-shadow: 0 0 0 3px rgba(245, 184, 96, 0.18); }

.status-row .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(232, 236, 243, 0.5);
  text-align: right;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .status-board { max-width: 480px; }
}

/* Sections ------------------------------------------------ */

section { padding: 84px 0; }

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-top: 14px;
}

.section-head .lede {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin-top: 14px;
}

.band-dim { background: var(--paper-dim); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-navy { background: var(--navy); color: var(--navy-ink); }
.band-navy .eyebrow { color: rgba(232, 236, 243, 0.55); }
.band-navy .eyebrow::before { background: #4ADE80; }

/* Trust line ---------------------------------------------- */

.trust-line {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}
.trust-line strong { color: var(--ink); font-weight: 500; }

/* Card grid ------------------------------------------------ */

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

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--amber-bg);
  color: var(--amber-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-tile svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.card p {
  color: var(--ink-soft);
  font-size: 15px;
}

.card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.card ul li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 5px 0 5px 18px;
  position: relative;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 1.5px;
  background: var(--amber-strong);
}

/* Process (real sequence — numbering earns its place) ---- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--card);
}
.process-step {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: none; }
.process-step .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber-strong);
  margin-bottom: 14px;
  display: block;
}
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process-step { border-bottom: 1px solid var(--line); }
  .process-step:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* Why-us checklist ----------------------------------------- */

.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.check-item .mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--signal-green-bg);
  color: var(--signal-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-item .mark svg { width: 14px; height: 14px; }
.check-item h3 { font-size: 17px; margin-bottom: 6px; }
.check-item p { font-size: 14.5px; color: var(--ink-soft); }

/* CTA band -------------------------------------------------- */

.cta-band {
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--navy-ink);
  max-width: 640px;
  margin: 16px auto 14px;
}
.cta-band .lede {
  color: rgba(232, 236, 243, 0.65);
  max-width: 520px;
  margin: 0 auto 30px;
  font-size: 16px;
}
.cta-band .btn-primary {
  background: var(--navy-ink);
  color: var(--navy);
}
.cta-band .btn-primary:hover { background: #fff; }
.cta-band-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer ------------------------------------------------------ */

footer {
  background: var(--navy);
  color: rgba(232, 236, 243, 0.55);
  padding: 40px 0;
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand { color: var(--navy-ink); }

/* Forms --------------------------------------------------------- */

.form-field {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
}
.form-field::placeholder { color: #9AA1AB; }
.form-field:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28, 43, 74, 0.1);
}
.form-status {
  font-size: 13.5px;
  margin-top: 12px;
  min-height: 1em;
}
.form-status.is-pending { color: var(--ink-soft); }
.form-status.is-success { color: var(--signal-green); }
.form-status.is-error { color: var(--amber-strong); }

label.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field-group { margin-bottom: 18px; }

/* Keyboard focus visibility (skill requirement) ---------------- */
a:focus-visible,
button:focus-visible,
.form-field:focus-visible {
  outline: 2px solid var(--amber-strong);
  outline-offset: 2px;
}

/* Scroll reveal -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Remote support modal -------------------------------------------- */

.rs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 31, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.rs-overlay.open { display: flex; }

.rs-modal {
  background: var(--card);
  border-radius: 8px;
  max-width: 420px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35);
}

.rs-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.rs-modal .eyebrow { margin-bottom: 12px; }
.rs-modal h3 { font-size: 21px; margin-bottom: 10px; }
.rs-modal p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }

.rs-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

/* Page hero (no big photo — small header for inner pages) ------ */

.page-head {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(30px, 4vw, 42px); margin-top: 14px; }
.page-head .lede { color: var(--ink-soft); font-size: 17px; margin-top: 14px; max-width: 560px; }
