/* Base Theme */
:root {
  --bg: #000000;
  --panel: #000000;
  --text: #e6e6e6;
  --muted: #9aa4af;
  --accent: #f0c674;
  /* amber */
  --accent-2: #81a2be;
  /* steel blue */
  --border: #222222;
  --card: #0a0a0a;
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: var(--text);
  background: var(--bg);
  text-shadow: none;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.4px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 500;
}

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

/* Hero */
.hero {
  padding: 84px 0 48px;
}

.kicker {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

h1 {
  font-size: clamp(34px, 6vw, 46px);
  line-height: 1.15;
  margin: 14px 0 8px;
}

.lead {
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--muted);
  max-width: 70ch;
}

.cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  background: transparent;
}

.button:hover {
  border-color: #333333;
  background: rgba(255, 255, 255, 0.03);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #111111;
}

.button.primary:hover {
  filter: brightness(0.95);
}

.section {
  padding: 32px 0;
}

.section h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 8px;
  padding: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

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

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 60px;
  color: var(--muted);
  margin-top: 24px;
}

/* Retro terminal aesthetics */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0) 3px,
      rgba(255, 255, 255, 0.03) 4px,
      rgba(0, 0, 0, 0) 6px);
  opacity: 0.12;
}

.ascii {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: var(--text);
  text-shadow: none;
  line-height: 1.15;
  font-size: clamp(10px, 1.8vw, 13px);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  overflow: auto;
  margin: 0 0 14px;
}

.brand {
  text-shadow: none;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--text);
  margin-left: 3px;
  animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

/* Optional avatar styling for future use */
.avatar {
  width: clamp(160px, 22vw, 320px);
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}