:root {
  --bg: #fefffc;
  --fg: #16181d;
  --muted: #5d636f;
  --line: #a8633e;
  --accent: #aee0fc;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #010007;
    --fg: #eceef2;
    --muted: #98a0ad;
    --line: #70260f;
    --accent: #aee0ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main { width: 100%; max-width: 36rem; }
.path, .status, nav a {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.path { margin: 0 0 1.5rem; color: var(--muted); font-size: .85rem; }
.path b { color: var(--accent); font-weight: 400; }
.wire {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  margin: 0 0 2rem;
  color: var(--muted);
}
.wire .hl { color: var(--accent); }
h1 {
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.role { margin: .75rem 0 0; font-size: 1.25rem; }
.focus { margin: .5rem 0 0; color: var(--muted); }
.status {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 2.5rem 0 0;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  font-size: .9rem;
}
.dot {
  flex: none;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .wire *:not(path) {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw calc(1s - var(--d, 0s)/2) ease-out forwards;
    animation-delay: var(--d, 0s);
  }
  .dot { animation: pulse 2s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  svg * {
    animate,
    animateMotion,
    animateTransform {
      animation: none !important
    }
  }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 50% { opacity: .25; } }
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
nav a {
  color: var(--fg);
  font-size: .95rem;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: .3em;
}
nav a:hover { color: var(--accent); text-decoration-color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
footer { margin-top: 3rem; color: var(--muted); font-size: .85rem; }
