:root {
  --bg: #0d0d12;
  --bg-2: #12131b;
  --card: rgba(26, 26, 36, 0.7);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #9ca3af;
  --brand: #ff4500;
  --brand-2: #3b82f6;
  --ok: #10b981;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 15% 0%, #1a1120 0%, transparent 28%),
    radial-gradient(circle at 90% 8%, #081933 0%, transparent 30%), var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.1rem 1.6rem;
  position: relative;
  z-index: 1;
}

.section {
  margin-top: 1.1rem;
}

.glass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.85rem;
  padding: 1rem;
  min-height: auto;
  align-items: center;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

h1 {
  margin: 0.45rem 0 0.6rem;
  font-size: clamp(1.85rem, 4.8vw, 2.8rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.sub {
  margin: 0;
  color: #d0d5de;
  max-width: 56ch;
  font-size: 1rem;
}

.hero-actions {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.72rem 0.95rem;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #ff6f3d 70%);
  box-shadow: 0 6px 24px rgba(255, 69, 0, 0.33);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-link {
  color: #9fc0ff;
}

.btn-light {
  color: #0f1320;
  background: #ffffff;
}

.hero-art {
  margin: 0;
  min-height: 340px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 25%, rgba(255, 69, 0, 0.2), transparent 52%);
  overflow: hidden;
  border-radius: 12px;
}

.hero-art img {
  width: min(100%, 360px);
  max-height: 360px;
  object-fit: contain;
  animation: bob 3.4s ease-in-out infinite;
}

.fallback {
  display: none;
  color: var(--muted);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  letter-spacing: -0.02em;
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.card {
  padding: 0.9rem;
}

h3 {
  margin: 0;
  font-size: 1.06rem;
}

.card p {
  margin-top: 0.45rem;
  color: #d4dae3;
}

.command {
  margin-top: 0.8rem;
  padding: 0.7rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 12, 24, 0.65);
  border-radius: 12px;
}

.command-inline {
  margin-top: 0.6rem;
}

code {
  font-family: "Space Mono", monospace;
  color: #edf2fa;
  white-space: normal;
  word-break: break-word;
  font-size: 0.86rem;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

button {
  border: none;
  border-radius: 10px;
  background: #dde6f6;
  color: #1d2b45;
  font-weight: 700;
  padding: 0.44rem 0.75rem;
  cursor: pointer;
  flex: 0 0 auto;
}

.footer {
  max-width: 1120px;
  margin: 1.1rem auto 2rem;
  padding: 0 1.2rem;
}

.footer-links {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #8fb2ef;
}

.risk {
  color: var(--muted);
}

.is-copied {
  background: var(--ok);
  color: #09371f;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .command {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: fit-content;
    align-self: flex-end;
  }
}
