/* WatcherCheck marketing site: the WatcherSIEM / WatcherCheck look (slate + Frontline red) */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --night: #020617;
  --night-2: #0f172a;
  --line: #e2e8f0;
  --line-dark: #1e293b;
  --paper: #ffffff;
  --paper-2: #f8fafc;
  --brand: #8b1a1a;
  --brand-2: #a52222;
  --brand-hi: #ef4444;
  --ok: #16a34a;
  --bad: #dc2626;
  --radius: 14px;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center-row { justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .6em 1.1em; border-radius: 9px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-lg { padding: .85em 1.4em; font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-outline { border-color: #334155; color: #e2e8f0; }
.btn-outline:hover { border-color: #64748b; background: rgba(148,163,184,.08); }
.btn-ghost { color: #cbd5e1; }
.btn-ghost:hover { color: #fff; }
.section.light .btn-outline, .section:not(.hero) .btn-outline { color: var(--ink); border-color: var(--line); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(2,6,23,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.shield { width: 26px; height: 26px; fill: none; stroke: var(--brand-hi); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.shield .tick { stroke: #fff; }
.links { display: flex; gap: 26px; }
.links a { color: #94a3b8; text-decoration: none; font-size: .92rem; }
.links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(139,26,26,.35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(30,41,59,.9), transparent 70%),
    var(--night);
  color: #e2e8f0; padding: 84px 0 96px;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--brand-hi); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--brand-hi); margin-bottom: 14px; }
.section .eyebrow { color: var(--brand); }
.lead { font-size: 1.15rem; color: #cbd5e1; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.fine { font-size: .85rem; color: #64748b; }

/* The call illustration */
.call { display: grid; gap: 12px; }
.bubble { max-width: 86%; padding: 12px 14px; border-radius: 14px; font-size: .95rem; }
.bubble .who { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 2px; opacity: .7; }
.bubble.them { background: #1e293b; color: #e2e8f0; border-bottom-left-radius: 4px; }
.bubble.you { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.screen { margin-top: 6px; background: #0b1220; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px; text-align: center; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.screen-top { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; color: #94a3b8; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
.screen-label { margin-top: 10px; font-weight: 700; color: #fff; }
.code { font-family: var(--mono); font-weight: 800; color: #fff; font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: .14em; margin: 8px 0 4px; white-space: nowrap; }
.screen-foot { font-size: .75rem; color: #64748b; }
.outcomes { display: grid; gap: 8px; }
.outcome { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: .9rem; }
.outcome svg { flex: none; width: 20px; height: 20px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.outcome.ok { background: rgba(22,163,74,.12); color: #bbf7d0; }
.outcome.ok svg { stroke: #4ade80; }
.outcome.bad { background: rgba(220,38,38,.12); color: #fecaca; }
.outcome.bad svg { stroke: #f87171; }

/* Sections */
.section { padding: 88px 0; }
.section.light { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sub { color: var(--ink-3); font-size: 1.08rem; max-width: 40em; margin-left: auto; margin-right: auto; }
.msp-grid .sub { margin-left: 0; }
.cards { display: grid; gap: 20px; margin-top: 40px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.card p { color: var(--ink-2); margin: 0; }
.icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #fef2f2; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.steps p { color: var(--ink-2); margin: 0; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.note { margin: 28px auto 0; max-width: 46em; font-size: .92rem; color: var(--ink-3); }

.plan { display: flex; flex-direction: column; gap: 12px; }
.plan-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.plan-head h3 { font-size: 1.3rem; margin: 0; }
.tag { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.plan.strong { border-color: rgba(139,26,26,.35); box-shadow: 0 0 0 3px rgba(139,26,26,.06); }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

.msp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.feature p { color: var(--ink-2); margin: 0; font-size: .95rem; }

details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--ink-3); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 0 0 16px; }

.cta { background: var(--night); color: #e2e8f0; padding: 88px 0; background-image: radial-gradient(700px 300px at 50% 0%, rgba(139,26,26,.35), transparent 70%); }
.cta h2 { color: #fff; }
.cta .sub { color: #94a3b8; }
.cta .btn-outline { color: #e2e8f0; border-color: #334155; }

.footer { background: var(--night); border-top: 1px solid var(--line-dark); color: #64748b; padding: 28px 0; font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand.small { font-size: .95rem; }
.brand.small .shield { width: 20px; height: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #94a3b8; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copy { margin: 0; }

:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 2px; border-radius: 4px; }

/* Tablet / phone */
@media (max-width: 900px) {
  .links { display: none; }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .msp-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards.three, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .cards.two, .features { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .bubble { max-width: 94%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
