:root {
  --bg: #0a0d0b;
  --panel: #0c100d;
  --text: #edf6ee;
  --muted: #95a99a;
  --line: rgba(154, 255, 188, 0.18);
  --accent: #9affbc;
  --accent-soft: rgba(154, 255, 188, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 10px;
  --mono:
    "Iosevka", "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", "SF Mono", Consolas,
    "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background:
    radial-gradient(circle at top, rgba(154, 255, 188, 0.06), transparent 30%),
    linear-gradient(180deg, #0a0c0a 0%, #070907 100%);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--mono);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size:
    100% 3px,
    3px 100%;
  opacity: 0.1;
}

.shell {
  width: min(1060px, calc(100vw - 24px));
  margin: 12px auto;
  padding: 18px 20px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(13, 17, 14, 0.96), rgba(8, 11, 9, 0.98)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  padding: 2px 0 14px;
  border-bottom: 1px solid var(--line);
}

.prompt-line,
.section-mark {
  color: var(--accent);
}

.prompt-line {
  margin: 0 0 18px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.prompt-user,
.prompt-host,
.prompt-path {
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.tagline {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  line-height: 1.65;
}

.install-line {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.install-chunk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
}

.install-line code {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(154, 255, 188, 0.06);
  font-size: 0.88rem;
  white-space: nowrap;
}

.install-line a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.install-line a:hover {
  text-decoration: underline;
}

.feature .tagline {
  max-width: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature .tagline + .tagline {
  margin-top: 8px;
}

.feature .tagline strong {
  font-weight: 600;
  color: var(--accent);
}

.feature-list {
  display: grid;
  gap: 0;
  padding-top: 14px;
}

.feature {
  padding: 16px 0 18px;
  border-bottom: 1px solid rgba(154, 255, 188, 0.1);
}

.feature h2 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: #d7e7da;
  text-transform: uppercase;
}

.feature:last-child {
  padding-bottom: 8px;
  border-bottom: 0;
}

.section-mark {
  margin-right: 10px;
  font-weight: 700;
}

.terminal {
  margin: 10px 0 0;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  background: #050706;
  max-width: 100%;
}

code {
  font-family: inherit;
  display: block;
  font-size: 0.92rem;
  line-height: 1.15;
  white-space: pre-wrap;
  word-break: break-word;
}

.tagline code {
  display: inline;
  font-size: 0.85rem;
  padding: 0 4px;
  border: 1px solid rgba(154, 255, 188, 0.15);
  border-radius: 3px;
  background: rgba(154, 255, 188, 0.06);
}

.pair,
.comment,
.command {
  display: block;
}

.pair {
  margin-bottom: 0;
}

.pair:last-child {
  margin-bottom: 0;
}

.comment {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: #7f9385;
}

.command {
  color: #d9ffe4;
}

code::selection,
h1::selection,
h2::selection,
p::selection,
span::selection {
  background: rgba(154, 255, 188, 0.22);
}

@media (max-width: 768px) {
  .shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 14px 14px 10px;
  }

  .hero {
    padding: 0 0 12px;
  }

  .prompt-line {
    font-size: 0.78rem;
    margin-bottom: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }

  .tagline {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .install-line {
    gap: 6px;
    margin-top: 10px;
  }

  .install-line code {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .install-line a {
    font-size: 0.8rem;
  }

  .icon {
    width: 16px;
    height: 16px;
  }

  .feature-list {
    padding-top: 10px;
  }

  .feature {
    padding: 12px 0 14px;
  }

  .feature h2 {
    font-size: 0.85rem;
  }

  .feature .tagline {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .terminal {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 4px;
  }

  .install-line code {
    white-space: normal;
    word-break: break-all;
  }

  code {
    font-size: 0.78rem;
    line-height: 1.35;
    max-width: 100%;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .comment {
    font-size: 0.72rem;
  }

  .command {
    font-size: 0.78rem;
  }

  .section-mark {
    margin-right: 6px;
  }

  .site-footer {
    width: 100%;
    padding: 18px 0 24px;
  }

  .site-footer p {
    font-size: 0.72rem;
  }
}

.site-footer {
  width: min(1060px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 24px 0 32px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(154, 255, 188, 0.18);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
