:root {
  --bg: #05070a;
  --panel: #0a0e13;
  --line: #182028;
  --green: #39e75f;
  --green-dim: #1f7a37;
  --white: #f5f7fa;
  --muted: #a7b4bf;
  --muted-2: #7a8792;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-mono);
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { color: #6ff28a; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 5vw;
}

.term-window {
  width: min(860px, 100%);
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 60px rgba(57, 231, 95, 0.08);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.term-dots { display: flex; gap: 7px; }
.term-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3f45;
  display: inline-block;
}

.term-path { font-size: 13.5px; color: var(--muted-2); letter-spacing: 0.02em; }

.term-body {
  padding: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 44px) clamp(30px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.term-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.term-brand .bar {
  width: 5px;
  height: 19px;
  background: var(--green);
  transform: skewX(-18deg);
  border-radius: 1px;
}

.term-brand .word {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 26px;
  margin-left: 6px;
}

.term-brand .semi { color: var(--green); }

.term-brand .tag {
  font-size: 13.5px;
  color: var(--muted-2);
  margin-left: 12px;
  letter-spacing: 0.02em;
}

.term-line {
  margin: 0;
  font-size: clamp(15px, 1.9vw, 17px);
  color: var(--muted);
}
.term-line .ok { color: var(--green); }
.term-line-last { margin-bottom: 10px; }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.term-headline {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.35;
  margin: 8px 0 0;
  max-width: 22ch;
  color: var(--white);
}

.cursor {
  display: inline-block;
  width: 11px;
  height: 26px;
  background: var(--green);
  margin-left: 5px;
  vertical-align: -4px;
  animation: blink 1s step-end infinite;
}

.term-sub {
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin: 4px 0 6px;
}

.term-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-term {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--bg);
  font-weight: 700;
  font-size: 15.5px;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(57, 231, 95, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-term:hover, .btn-term:focus-visible {
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(57, 231, 95, 0.42);
}

.term-divider { color: #3a3f45; font-size: 13px; }

.term-socials { display: flex; gap: 16px; }
.term-socials a { color: var(--muted); display: inline-flex; }
.term-socials a:hover, .term-socials a:focus-visible { color: var(--green); }
.term-socials svg { width: 28px; height: 28px; }

.term-foot { margin: 22px 0 0; font-size: 13px; color: var(--muted-2); }

@media (max-width: 480px) {
  .term-brand .word { font-size: 22px; }
  .term-headline { font-size: clamp(22px, 6vw, 28px); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
