/* HomeNetWatch landing page ("Signal"). Plain CSS, no build step. */
:root {
  --bg: #05070c;
  --panel: #0b1118;
  --line: #18222d;
  --line-2: #2a3442;
  --text: #eef2ff;
  --muted: #c5cde3;
  --dim: #9aa6c4;
  --teal: #4fd1b5;
  --amber: #ffc24d;
  --blue: #4c9df3;
  --sans: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--teal); }
a:hover { color: #8fe6d3; }
h1, h2, h3, p { margin: 0; }
code { font-family: var(--mono); font-size: 0.92em; color: var(--text); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; padding: 12px 16px; background: var(--teal); color: #04211b; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

.page { position: relative; overflow: hidden; min-height: 100vh; }
.wrap { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.teal { color: var(--teal); }

/* ---------- Moving background ---------- */
.backdrop {
  position: fixed; top: -56px; right: 0; bottom: 0; left: -28px; z-index: 0; pointer-events: none;
  background-image: radial-gradient(#1b2835 1px, transparent 1.5px);
  background-size: 28px 28px;
  animation: drift 14s linear infinite;
}
.radar {
  position: absolute; top: -360px; left: 50%; width: 1400px; height: 1400px; margin-left: -700px; z-index: 0;
  pointer-events: none;
  transform: translate(calc(var(--mx, 0) * -70px), calc(var(--my, 0) * -70px));
  transition: transform 0.5s ease-out;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 35%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 35%, transparent 100%);
}
.radar > * { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.radar .sweep {
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(79, 209, 181, 0) 0deg, rgba(79, 209, 181, 0) 290deg, rgba(79, 209, 181, 0.26) 360deg);
  animation: spin 9s linear infinite;
}
.radar .ping { border-radius: 50%; border: 2px solid var(--teal); animation: ping 8s linear infinite; }
.radar .ping:nth-of-type(2) { animation-delay: -2s; }
.radar .ping:nth-of-type(3) { animation-delay: -4s; }
.radar .ping:nth-of-type(4) { animation-delay: -6s; }
.radar .blip {
  width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 18px var(--teal);
  animation: blink 9s linear infinite;
}
.radar .blip.b1 { top: 44%; left: 24%; animation-delay: -1.5s; }
.radar .blip.b2 { top: 62%; left: 71%; animation-delay: -5s; }
.radar .blip.b3 { top: 36%; left: 78%; background: var(--amber); box-shadow: 0 0 18px var(--amber); animation-delay: -7.2s; }
.radar .blip.b4 { top: 68%; left: 33%; width: 8px; height: 8px; background: var(--blue); box-shadow: 0 0 18px var(--blue); animation-delay: -3.4s; }
.spot {
  position: absolute; left: var(--px, 50%); top: var(--py, 320px); width: 720px; height: 720px; margin: -360px 0 0 -360px;
  z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(79, 209, 181, 0.2), rgba(79, 209, 181, 0));
}
.ripple {
  position: absolute; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  border: 2px solid var(--teal); pointer-events: none; animation: ripple 1.6s ease-out forwards;
}

@keyframes drift { to { transform: translate(28px, 56px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { from { transform: scale(0.1); opacity: 0.9; } to { transform: scale(1); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 0; transform: scale(0.4); } 12% { opacity: 1; transform: scale(1); } 40% { opacity: 0; transform: scale(1.6); } }
@keyframes ripple { from { transform: scale(0.04); opacity: 1; } to { transform: scale(1); opacity: 0; } }
@keyframes travel { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Top bar ---------- */
.nav-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; }
.nav-links a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-live { padding: 0 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; }
.nav-links a.btn-live:hover { background: #ffffff; color: var(--bg); }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 88px; padding-bottom: 72px; text-align: center; }
.hero > * { position: relative; }
.hero > .ripple { position: absolute; }
.status-pill { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid #1c2a33; border-radius: 12px; background: #0a1016; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { max-width: 980px; font-size: clamp(38px, 6vw, 84px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.lead { max-width: 700px; font-size: 18px; font-weight: 300; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta {
  display: flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 12px; font-size: 16px; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(79, 209, 181, 0.2); }
.cta.primary { background: var(--teal); color: #04211b; font-weight: 600; }
.cta.ghost { border: 1px solid var(--line-2); color: var(--text); }
.hint { color: var(--dim); }

/* ---------- System layers ---------- */
.layers { padding-bottom: 80px; }
.track { position: relative; height: 1px; background: #1c2a33; margin-bottom: 28px; }
.track span {
  position: absolute; top: -4px; left: 0; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 16px 2px var(--teal); animation: travel 5s linear infinite;
}
.track span + span { top: -3px; width: 7px; height: 7px; margin-left: -3px; background: var(--amber); box-shadow: 0 0 14px 2px var(--amber); animation-delay: -2.5s; }
.tabs { display: flex; flex-wrap: wrap; gap: 16px; }
.node-btn {
  flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 18px 0 0;
  border: 0; border-top: 2px solid var(--line-2); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.node-btn:hover { transform: translateY(-3px); border-top-color: var(--dim); }
.node-btn .node-tag { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.node-btn b { font-size: 18px; font-weight: 600; line-height: 1.3; }
.node-btn .node-sub { font-size: 14px; line-height: 1.55; font-weight: 300; color: var(--muted); }
.node-btn.active { border-top-color: var(--teal); }
.node-btn.active .node-tag { color: var(--teal); }
.inspector-card {
  margin-top: 28px; padding: 28px; border-radius: 16px; background: var(--panel); border: 1px solid #1c2a33;
  display: flex; flex-wrap: wrap; gap: 24px 40px; animation: rise 0.35s ease-out;
}
.inspector-card[hidden] { display: none; }
.inspector-head { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.inspector-head h3 { font-size: 24px; line-height: 1.2; font-weight: 600; }
.inspector-body { flex: 2 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.inspector-body p { font-size: 15px; line-height: 1.65; font-weight: 300; color: var(--muted); }
.tradeoff-box { padding: 14px 16px; border-radius: 10px; background: #15140d; border: 1px solid #3a3320; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.55; }
.tradeoff-box strong { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); }
.proof-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.proof-links a { display: flex; align-items: center; min-height: 44px; }

/* ---------- Sections and tiles ---------- */
.section { padding-bottom: 80px; }
.section h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.features { display: flex; flex-direction: column; gap: 28px; }
.features h2 { max-width: 820px; }
.grid { display: flex; flex-wrap: wrap; gap: 16px; }
.tile {
  flex: 1 1 280px; min-width: 0; padding: 28px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: 0 18px 40px rgba(79, 209, 181, 0.14); }
.tile.wide { flex: 2 1 480px; }
.tile svg { width: 32px; height: 32px; stroke: var(--teal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
.tile.wide h3 { font-size: 26px; }
.tile p { font-size: 15px; font-weight: 300; color: var(--muted); }
.tile.wide p { font-size: 16px; max-width: 520px; }
.hops { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--mono); font-size: 12px; }
.hops span { padding: 6px 10px; border-radius: 6px; }
.hops i { width: 28px; height: 1px; background: var(--line-2); }
.hop-lan { background: #14304a; color: #8cc4ff; }
.hop-isp { background: #3a3320; color: #e3d3b0; }
.hop-silent { border: 1px dashed #3a4656; color: var(--muted); }
.hop-srv { background: #12352e; color: var(--teal); }

.security { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.security-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.security-intro svg { width: 44px; height: 44px; stroke: var(--teal); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.security-intro p { font-weight: 300; color: var(--muted); }
.security-grid { flex: 2 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.security-grid .tile { flex: 1 1 250px; padding: 20px; border-radius: 12px; gap: 8px; }
.security-grid .tile h3 { font-size: 17px; }
.security-grid .tile p { font-size: 14px; line-height: 1.55; }
.security-grid .mono { font-size: 11px; }

.band { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #080c12; }
.band-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.band-quote { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.band-quote .mono { color: var(--amber); }
.band-quote p { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -0.01em; }
.band-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band-side p { font-size: 15px; line-height: 1.65; font-weight: 300; color: var(--muted); }

/* ---------- Author and footer ---------- */
.author { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.author-photo { width: 120px; height: 120px; border-radius: 50%; border: 1px solid var(--teal); padding: 4px; }
.author-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top; }
.author-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.author-body .mono { color: var(--dim); text-transform: uppercase; }
.author-body h2 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.author-body p { max-width: 700px; font-weight: 300; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-links a { display: flex; align-items: center; min-height: 44px; }

@media (max-width: 720px) {
  .nav-links a:not(.btn-live) { display: none; }
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .tile, .inspector-card { padding: 20px; }
  .band-row, .author { padding-top: 48px; padding-bottom: 48px; }
}
@media (hover: none) { .hint .pointer-only { display: none; } }
/* The page keeps its motion when the device reports reduced motion (owner decision 2026-11-13): Chrome on
   Windows reports it on PCs whose animation setting is on, and those visitors saw a still page. */
