/* WatchSentry landing + legal pages.
   Single shared stylesheet. System fonts only (no external fonts/JS/trackers —
   privacy, speed, and anonymity by design). Brand: deep navy + emerald accent,
   echoing the shield-check extension mark. */

:root {
  --navy: #0f2547;
  --navy-deep: #0a1c38;
  --ink: #15212e;
  --muted: #586577;
  --faint: #8a94a3;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --emerald: #10b981;
  --emerald-ink: #0a7a58;
  --azure: #2563eb;
  --radius: 14px;
  --maxw: 1040px;
  --shadow-sm: 0 1px 2px rgba(15, 37, 71, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 37, 71, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 28, 56, 0.28);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--azure); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Brand mark + wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .mark { width: 30px; height: 30px; flex-shrink: 0; display: block; }
.brand .word { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.topbar .word { color: #fff; }
.topbar nav a { color: rgba(255, 255, 255, 0.82); font-size: 14px; margin-left: 22px; }
.topbar nav a:hover { color: #fff; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 75% -10%, #1b3b6b 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: #eaf0f8;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 88px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fb4f5;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
}
.hero h1 .accent { color: var(--emerald); }
.hero .lead { font-size: 18.5px; color: #c3d0e4; margin: 0 0 30px; max-width: 33ch; }
.hero .cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.microtrust { margin-top: 22px; font-size: 13px; color: #9fb1cc; }
.microtrust strong { color: #d7e2f3; font-weight: 600; }

/* ---------- Buttons ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  background: var(--emerald);
  color: #06301f;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.cta:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cta-disabled {
  background: rgba(255, 255, 255, 0.08);
  color: #aebfd8;
  border-color: rgba(255, 255, 255, 0.18);
  cursor: not-allowed;
  box-shadow: none;
}
.cta-disabled:hover { transform: none; box-shadow: none; }
.cta-ghost { color: #cdd9ec; font-size: 14px; font-weight: 600; }
.cta-ghost:hover { color: #fff; text-decoration: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* ---------- Badge mockup (the credibility centerpiece) ---------- */
.mock { perspective: 1000px; }
.mock-card {
  background: var(--bg);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.mock-context {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); padding: 2px 4px 12px;
}
.mock-context .site { font-weight: 600; color: var(--navy); }
.ws-badge {
  font-size: 13px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.07);
  padding: 14px 16px;
  color: var(--ink);
}
.ws-badge .row { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; }
.ws-badge .row .k { color: var(--muted); font-size: 12.5px; }
.ws-badge .row .v { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.ws-badge .row .v.good { color: var(--emerald-ink); }
.ws-badge .foot {
  margin-top: 11px; padding-top: 10px; font-size: 11px; color: var(--muted);
  border-top: 1px solid rgba(16, 185, 129, 0.22); letter-spacing: 0.01em;
}
.ws-badge .foot b { color: var(--ink); font-weight: 600; }
.mock-caption { text-align: center; font-size: 12px; color: #9fb1cc; margin-top: 14px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 10px; color: var(--navy); }
.section-head p { font-size: 16px; color: var(--muted); margin: 0; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .n {
  width: 34px; height: 34px; border-radius: 9px; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
  background: var(--navy); color: #fff; margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; margin: 0 0 6px; color: var(--ink); }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Marketplaces + trust chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); font-weight: 600; font-size: 14.5px; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chip .tick { color: var(--emerald); font-weight: 700; }
.chip .sub { color: var(--faint); font-weight: 500; font-size: 12.5px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust .item h3 { font-size: 15px; margin: 0 0 4px; color: var(--ink); }
.trust .item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* Honesty note */
.note {
  border-left: 3px solid var(--emerald); background: var(--bg-soft);
  padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--muted); font-size: 14px;
}
.note strong { color: var(--ink); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-deep); color: #aebfd8; padding: 40px 0; font-size: 13.5px;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer.site a { color: #cdd9ec; }
footer.site .links a { margin-right: 18px; }
footer.site .fineprint { width: 100%; color: #7689a8; font-size: 12px; margin: 14px 0 0; }

/* ---------- Legal pages (privacy/terms) ---------- */
.legal { max-width: 740px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 30px; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 4px; }
.legal h2 { font-size: 18px; margin: 34px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink); }
.legal .back { display: inline-block; margin-bottom: 26px; font-weight: 600; font-size: 14px; }
.fineprint { font-size: 13px; color: var(--muted); }
code { background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; font-size: 0.9em; border: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 64px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { max-width: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .topbar nav { display: none; }
  section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef6; --muted: #9fb0c4; --faint: #7588a0;
    --line: #243247; --bg: #0e1726; --bg-soft: #131f31;
    --navy: #16335c; --emerald-ink: #34d8a6;
  }
  .mock-card { border-color: rgba(255, 255, 255, 0.06); }
  .ws-badge { color: var(--ink); }
  .chip { background: var(--bg-soft); }
  .section-head h2, .legal h1 { color: #cfe0ff; }
}
