/* WarpKVM's brand for the live KVM demo (/kvm), loaded after the SDK's
   style.css. The page's layout is the SDK's and stays there; this sets its
   tokens from brand-guide.html (Space, Paper, Titanium, Warp Blue, hairlines,
   Dim Paper as the floor, square corners) and its faces (Neue Haas Grotesk,
   the three licensed cuts), plus a few rules for the brand's own details:
   micro-labels, the status LED, buttons as on the site's forms. */
@font-face { font-family: "NHG Display"; src: url("/fonts/NeueHaasGroteskDisplay-55Roman-Web.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "NHG Text"; src: url("/fonts/NeueHaasGroteskText-55Roman-Web.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "NHG Text"; src: url("/fonts/NeueHaasGroteskText-65Medium-Web.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #ffffff; --ink-2: #c1c0bd; --muted: #848484;
  --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .06); --line-hover: rgba(255, 255, 255, .22);
  --bg: #0a0a0a; --bg-soft: #0a0a0a; --surface: #0a0a0a; --kbd-bg: transparent;
  --accent: #07a0ff; --accent-ink: #07a0ff; --accent-wash: rgba(7, 160, 255, .08);
  --ok: #07a0ff; --ok-ink: #c1c0bd; --ok-halo: transparent;
  --warn: #ffffff; --warn-wash: rgba(255, 255, 255, .06);
  --frame: #000000;
  /* Buttons as the site's form submit: Paper with Space text, Warp on hover */
  --btn: #ffffff; --btn-ink: #0a0a0a; --btn-hover: #07a0ff; --btn-hover-ink: #0a0a0a;
  --ghost: transparent; --ghost-ink: #ffffff;
  --link: #ffffff; --link-hover: #07a0ff;
  --avatar-ink: #ffffff; --mark-ink: #0a0a0a;
  --wipe-meter: #07a0ff;
  --on-frame: #ffffff; --on-frame-2: #c1c0bd; --on-frame-3: #848484;
  --r-card: 0; --r-btn: 0; --r-kbd: 0; --r-note: 0; --r-bar-phone: 0;
  --display: "NHG Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "NHG Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* No monospace in UI: values are Text with tabular figures (.mono) */
  --mono: var(--text);
  --top-h: 65px; /* the header (brand/header.js): 64 px and its hairline, at every width */
}
@media (min-width: 981px) { :root { --top-h: 65px; } }
html { background: #0a0a0a; }
::selection { background: #07a0ff; color: #0a0a0a; }

/* Headings in Display 400, quiet and tight */
.title h1, .intro h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.title h1 { font-size: 18px; }

/* Micro-labels: Text 500, 11 px, 0.18em, uppercase, Titanium */
.eyebrow, .live { font: 500 11px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { color: var(--ink-2); white-space: nowrap; }
/* Neue Haas sets wider than the page's own face: the cards' small text a
   half size down, so the card row holds what it holds on nearglass.com */
.facts li, .keys, .steps, .line { font-size: 12px; }
.facts li { grid-template-columns: 84px 1fr; }
/* The tracked micro-labels are wider too: the bar drops the watcher count
   sooner, so who drives keeps their name */
@container (max-width: 1100px) { .live .count { display: none; } }
.btn { font: 500 11px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; padding: 0 16px; }
.btn.ghost { box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }

/* The status LED: a 5 px Warp dot with its slow pulse */
.live::before { width: 5px; height: 5px; box-shadow: 0 0 6px 1px rgba(7, 160, 255, .8); animation: wk-led 2.6s ease-in-out infinite; }
@keyframes wk-led { 0%, 100% { opacity: 1; box-shadow: 0 0 6px 1px rgba(7, 160, 255, .8); } 50% { opacity: .55; box-shadow: 0 0 2px 0 rgba(7, 160, 255, .4); } }
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }

/* Who drives: the initial in a hairline ring, not a colour fill */
.avatar { background: transparent !important; box-shadow: inset 0 0 0 1px var(--line-hover); font-weight: 500; }
.avatar:empty { box-shadow: inset 0 0 0 1px var(--line); }
.meter span, .blank-meter span { border-radius: 0; }
.meter, .blank-meter { border-radius: 0; }

/* Values: tabular figures, Medium */
.meas b { font-weight: 500; }
a { text-decoration-color: var(--line-hover); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

/* Full screen on a phone: the way out on Space, not navy */
.btn.fsexit { background: rgba(10, 10, 10, .55); }
.btn.fsexit:hover { background: rgba(10, 10, 10, .75); }
