:root {
  --bg: #0d0f14;
  --surface: #13161d;
  --card: #1e2333;
  --border: #252b3b;
  --accent: #00d4ff;
  --text: #c4d0e0;
  --muted: #6e8099;
  --font-d: 'Syne', sans-serif;
  --font-m: 'Space Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-m);
  font-size: 14px;
  line-height: 1.6;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 15, 20, .92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-logo {
  font-family: var(--font-d);
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: .08em;
}

.nav-links a.nav-flasher {
  color: var(--accent);
  border: 1px solid var(--border);
  padding: .35rem .65rem;
  border-radius: 6px;
}

.nav-links a.nav-flasher:hover {
  border-color: var(--accent);
  background: rgba(0, 212, 255, .08);
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--text); }

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero { margin-bottom: 2.5rem; }

.eyebrow {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.eyebrow a {
  color: var(--accent);
  text-decoration: none;
}

.eyebrow a:hover { text-decoration: underline; }

h1 {
  font-family: var(--font-d);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead { color: var(--text); max-width: 640px; }

.quick-launch {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.btn-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--accent);
  transition: background .2s, color .2s, box-shadow .2s;
}

.btn-tool:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.tools-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.tools-section h2 {
  font-family: var(--font-d);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.tool-list { list-style: none; display: grid; gap: .75rem; }

.tool-list a {
  display: block;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s;
}

.tool-list a:hover { border-color: var(--accent); }

.tool-list strong {
  display: block;
  color: var(--accent);
  margin-bottom: .25rem;
}

.tool-list span { color: var(--muted); font-size: 12px; }

.empty-state {
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
}

.empty-state .hint { margin-top: .75rem; font-size: 12px; }

code {
  color: var(--accent);
  font-size: 12px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.info-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.info-grid h3 {
  font-family: var(--font-d);
  font-size: .9rem;
  margin-bottom: .5rem;
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }
