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

:root {
  --bg:      #1a1a1a;
  --text:    #d4d4d4;
  --muted:   #a0a0a0;
  --accent:  #4ade80;
  --border:  #333;
  --mono:    'IBM Plex Mono', 'Courier New', monospace;
  --width:   42rem;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

hr { border: none; border-top: 1px solid var(--border); }

/* ── Header ── */
header { width: 100%; padding: 0 1.5rem; }

.nav-inner {
  max-width: var(--width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.25rem;
}

.logo {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}

.logo .dollar { color: var(--accent); }

.logo .cursor {
  display: inline-block;
  width: 0.5em;
  height: 0.85em;
  background: var(--accent);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

nav { display: flex; align-items: center; gap: 1.5rem; }

nav a {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 4px; }

.header-rule { max-width: var(--width); margin: 0 auto; padding: 0 1.5rem; }

/* ── Main ── */
main {
  flex: 1;
  max-width: var(--width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

/* ── Hero ── */
.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.75rem 0 1rem;
  color: var(--text);
}

.hero p { color: var(--muted); margin: 0.4rem 0; font-size: 0.95rem; }
.hero p a { color: var(--muted); }
.hero p a:hover { color: var(--accent); }

/* ── Social icons ── */
.social-row { display: flex; gap: 0.6rem; margin-top: 1.25rem; align-items: center; }

.social-row a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
}

.social-row a:hover { color: var(--accent); }

.social-row svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Page content ── */
.page-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.page-content p { color: var(--muted); margin: 0.5rem 0; font-size: 0.95rem; }
.page-content p a { color: var(--muted); }
.page-content p a:hover { color: var(--accent); }

/* colored bullets */
.page-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0.25rem 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.page-content ul li {
  padding-left: 1.25rem;
  position: relative;
  margin: 0.3rem 0;
}

.page-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.page-content em { font-size: 0.85rem; color: var(--border); font-style: italic; }
.page-content em a { color: var(--border); }
.page-content em a:hover { color: var(--accent); }

/* ── Footer ── */
footer { width: 100%; padding: 0 1.5rem; }

.footer-inner {
  max-width: var(--width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.8rem;
  color: var(--border);
}

.footer-social { display: flex; gap: 0.6rem; align-items: center; }

.footer-social a { display: inline-flex; color: var(--muted); text-decoration: none; }
.footer-social a:hover { color: var(--accent); }

.footer-social svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
