:root {
  --ink: #0e1a24;
  --ink-2: #16273a;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #dcd8cd;
  --muted: #5a6672;
  --accent: #e8731a;
  --accent-dark: #b9560c;
  --teal: #0f6b6b;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: 0.02em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
}
.nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav a.link { text-decoration: none; font-size: 0.95rem; color: var(--muted); }
.nav a.link:hover { color: var(--ink); }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-size: 0.95rem; border: 2px solid transparent; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { padding: 8px 18px; }

/* Hero */
.hero { padding: 96px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--teal); margin-bottom: 18px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 22px; }
h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.console {
  background: var(--ink); color: #dfe7ee; border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(14, 26, 36, 0.55);
}
.console .bar { display: flex; gap: 6px; margin-bottom: 16px; }
.console .bar span { width: 10px; height: 10px; border-radius: 50%; background: #34475a; }
.console .row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid #243545; font-size: 0.92rem;
}
.console .row:first-of-type { border-top: 0; }
.tag { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.04em; white-space: nowrap; }
.tag.ok { background: #12423f; color: #6fe0c9; }
.tag.warn { background: #4a3413; color: #ffc46b; }
.tag.info { background: #1c3550; color: #8cc4ff; }
.console .title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #8aa0b4; margin-bottom: 6px; }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--ink); color: #e6edf3; }
.section-head { max-width: 680px; margin-bottom: 48px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.dark .section-head p { color: #9fb2c2; }

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

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.alt .card { background: var(--paper); }
.card h3 { font-size: 1.1rem; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card ul { margin: 12px 0 0 18px; color: var(--muted); font-size: 0.93rem; }
.card li { margin-bottom: 4px; }
.icon {
  width: 42px; height: 42px; border-radius: 11px; background: #fdeadb; color: var(--accent-dark);
  display: grid; place-items: center;
}
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--accent); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-weight: 800; color: var(--accent); font-size: 0.9rem; display: block; margin-bottom: 8px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: #9fb2c2; font-size: 0.95rem; }

/* Shield */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; margin-top: 20px; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg);
}
.panel { background: var(--ink); color: #dfe7ee; border-radius: 18px; padding: 28px; }
.panel .cams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.panel .cam {
  aspect-ratio: 16/10; border-radius: 10px; background: linear-gradient(135deg, #1c3047, #101d2b);
  display: grid; place-items: center; font-size: 0.78rem; letter-spacing: 0.1em; color: #7e97ad; text-transform: uppercase;
  border: 1px solid #243545;
}
.panel p { font-size: 0.95rem; color: #9fb2c2; }

/* Contact */
.contact { text-align: center; }
.contact .section-head { margin: 0 auto 28px; }
.contact .cta-row { justify-content: center; }
.email { font-size: 1.05rem; margin-top: 22px; color: var(--muted); }
.email a { color: var(--ink); font-weight: 600; }

footer.site { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer .foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav ul li:not(:last-child) { display: none; }
}
@media (max-width: 600px) {
  .grid.three, .grid.two, .steps { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  section { padding: 60px 0; }
}
