/* ── reset & base ── */

* {
  box-sizing: border-box;
  margin: 0;
}

:root {
  --bg: #060e18;
  --surface: #0b1a2a;
  --border: rgba(120, 220, 255, 0.12);
  --border-bright: rgba(120, 220, 255, 0.25);
  --text: #e8f6ff;
  --text-dim: rgba(210, 240, 255, 0.62);
  --cyan: #6ee7ff;
  --amber: #ffb366;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.88em;
  color: var(--cyan);
}

/* ── rain effect ── */

.rain-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      178deg,
      transparent,
      transparent 28px,
      rgba(110, 231, 255, 0.018) 28px,
      rgba(110, 231, 255, 0.018) 29px
    );
  animation: rain-drift 4s linear infinite;
}

@keyframes rain-drift {
  from { background-position-y: 0; }
  to { background-position-y: 58px; }
}

/* ── layout ── */

.site {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── masthead ── */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 4px;
}

.title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

/* ── pitch ── */

.pitch {
  padding: 56px 0 48px;
}

.pitch-line {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--text);
}

.pitch-detail {
  margin-top: 20px;
  color: var(--text-dim);
  max-width: 580px;
}

/* ── showcase cards ── */

.showcase {
  display: grid;
  gap: 16px;
  padding-bottom: 56px;
}

.showcase-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11, 26, 42, 0.7), rgba(8, 18, 30, 0.5));
}

.showcase-card:hover {
  border-color: var(--border-bright);
}

.card-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.showcase-card p {
  color: var(--text-dim);
  margin: 0;
}

/* ── install ── */

.install {
  padding-bottom: 56px;
}

.install h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.install-note {
  color: var(--text-dim);
  margin-bottom: 24px;
}

.terminal {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #020810;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 26, 42, 0.6);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.terminal pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-dim);
}

.terminal .cmd {
  color: var(--cyan);
}

.install-aside {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ── changelog ── */

.whats-new {
  padding-bottom: 56px;
}

.whats-new h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.changelog {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.changelog li {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(11, 26, 42, 0.4);
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.changelog li strong {
  color: var(--text);
  font-weight: 600;
}

/* ── footer ── */

.footer {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ── responsive ── */

@media (max-width: 600px) {
  html { font-size: 15px; }

  .site { padding: 28px 16px 56px; }

  .masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .pitch { padding: 36px 0 32px; }

  .pitch-line { font-size: 1.35rem; }
}
