:root {
  --bg: #0b0d10;
  --panel: #12161c;
  --panel-2: #171c23;
  --text: #e8edf2;
  --muted: #9fb0c0;
  --accent: #8ff0a4;
  --accent-2: #56cfe1;
  --border: #2b3340;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(86, 207, 225, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(143, 240, 164, 0.08), transparent 25%),
    linear-gradient(180deg, #0a0c0f 0%, #0e1217 100%);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11, 13, 16, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(143, 240, 164, 0.18), rgba(86, 207, 225, 0.16));
  border: 1px solid rgba(143, 240, 164, 0.25);
  color: var(--accent);
  font-family: Consolas, Monaco, monospace;
  font-size: 0.95rem;
}

.top-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  padding: 4.8rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.8rem;
  align-items: stretch;
}

.hero-card,
.panel {
  background: linear-gradient(180deg, rgba(23, 28, 35, 0.88), rgba(18, 22, 28, 0.94));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(143, 240, 164, 0.09);
  border: 1px solid rgba(143, 240, 164, 0.18);
  color: var(--accent);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

h1, h2, h3 {
  line-height: 1.16;
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.hero p,
.panel p,
.footer-note,
.list li {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button.primary {
  background: linear-gradient(135deg, rgba(143, 240, 164, 0.18), rgba(86, 207, 225, 0.16));
  color: var(--text);
  border-color: rgba(143, 240, 164, 0.25);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: rgba(143, 240, 164, 0.35);
}

.terminal {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.screen {
  background: #0a0c0f;
  border-radius: 14px;
  border: 1px solid rgba(143, 240, 164, 0.16);
  padding: 1rem;
  min-height: 240px;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.97rem;
  color: var(--accent);
  overflow: auto;
}

.screen .muted {
  color: #7ab58a;
}

.screen .cursor {
  display: inline-block;
  width: 0.62em;
  height: 1.02em;
  background: var(--accent);
  vertical-align: -0.16em;
  margin-left: 0.18rem;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

section {
  padding: 0.9rem 0 1.5rem;
}

.panel {
  padding: 1.4rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.small {
  font-size: 0.95rem;
}

.list {
  padding-left: 1.1rem;
  margin: 0.6rem 0 0;
}

.codeish {
  font-family: Consolas, Monaco, monospace;
  color: var(--accent);
}

.notice {
  margin-top: 1.25rem;
  padding: 0.95rem 1rem;
  border-left: 3px solid var(--accent-2);
  background: rgba(86, 207, 225, 0.06);
  border-radius: 10px;
}

footer {
  padding: 2rem 0 3rem;
}

.footer-note {
  font-size: 0.92rem;
}

.error-code {
  font-size: clamp(4rem, 10vw, 7rem);
  letter-spacing: -0.06em;
  margin-bottom: 0.4rem;
}

.center-panel {
  max-width: 760px;
  margin: 3rem auto 2rem;
}

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

  .hero {
    padding-top: 3.2rem;
  }

  .site-header .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}
