/* Terminal-first theme (inspired by terminal aesthetics; not a copy of any site) */

:root {
  --bg: #0b0f14;
  --bg2: #0f1621;
  --panel: rgba(16, 24, 35, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --text: #d7e0ea;
  --muted: rgba(215, 224, 234, 0.72);
  --faint: rgba(215, 224, 234, 0.12);
  --accent: #78f08a;
  --accent2: #7aa2f7;
  --danger: #ff5f56;
  --warn: #ffbd2e;
  --ok: #27c93f;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --radius: 14px;
  --shadow: 0 12px 60px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(120, 240, 138, 0.10), transparent 55%),
    radial-gradient(900px 600px at 85% 15%, rgba(122, 162, 247, 0.10), transparent 55%),
    radial-gradient(1200px 900px at 30% 90%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover { color: var(--accent); }

.wrap {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.9);
  transform: translateY(-200%);
  transition: transform 150ms ease;
  z-index: 999;
}
.skip-link:focus { transform: translateY(0); outline: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 20, 0.75);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}
.brand-mark { color: var(--accent); }
.brand-path { color: var(--muted); }
.brand-prompt { color: var(--accent); }

.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}
.nav a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.nav-cta {
  border: 1px solid var(--border);
  background: rgba(120, 240, 138, 0.08);
}
.nav-cta:hover {
  border-color: rgba(120, 240, 138, 0.35);
}

.hero {
  padding: 44px 0 22px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}
.lede {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(120, 240, 138, 0.35);
  background: rgba(120, 240, 138, 0.12);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(120, 240, 138, 0.55);
  background: rgba(120, 240, 138, 0.16);
}
.btn:active { transform: translateY(0); }
.btn:focus { outline: 2px solid rgba(120, 240, 138, 0.45); outline-offset: 2px; }

.btn-ghost {
  border-color: var(--border);
  background: rgba(255,255,255,0.04);
  font-weight: 600;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.micro {
  margin: 14px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.28);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.dot-red { background: var(--danger); }
.dot-yellow { background: var(--warn); }
.dot-green { background: var(--ok); }
.terminal-title {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
}
.terminal-body {
  padding: 14px 14px 16px;
  font-size: 13px;
  line-height: 1.65;
}
.line { white-space: pre-wrap; }
.prompt { color: var(--accent); margin-right: 8px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

.cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background: rgba(120, 240, 138, 0.65);
  margin-left: 4px;
  transform: translateY(2px);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor { animation: none; opacity: 0.85; }
  .btn { transition: none; }
}

.section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
h2 {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: 0.02em;
}
h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card, .panel {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  border-radius: var(--radius);
  padding: 14px;
}
.card p, .panel p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.list {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}
.list strong { color: var(--text); }

.code {
  margin: 10px 0 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0,0,0,0.30);
  overflow: auto;
}
.code code {
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  margin-top: auto;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .nav { gap: 10px; }
}