:root {
  --bg: #0b0d12;
  --surface: #13151c;
  --surface-2: #1a1d26;
  --surface-3: #222634;
  --border: #2a2f3f;
  --text: #f5f7fb;
  --text-secondary: #c5c9d5;
  --text-muted: #8a91a6;
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.15);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.35), transparent 60%);
}

.orb-1 {
  top: -20%;
  left: -10%;
}

.orb-2 {
  bottom: -30%;
  right: -15%;
  background: radial-gradient(circle, rgba(79, 132, 255, 0.25), transparent 60%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 0.9), transparent 70%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 8vw 10px;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 1.2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 14px;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta .button {
  padding: 10px 18px;
}

main {
  padding: 40px 8vw 120px;
}

.hero {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  padding: 40px 0 80px;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  margin-bottom: 12px;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 3vw + 1.6rem, 4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 620px;
}

.hero-actions {
  margin: 24px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #111217;
  box-shadow: 0 12px 30px rgba(255, 122, 26, 0.25);
}

.button.ghost {
  border-color: var(--border);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.hero-trust span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
}

.hero-trust p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-header {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  margin-bottom: 14px;
}

.code-block {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  background: var(--surface-2);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  overflow-x: auto;
}

.card-footer {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.section-title {
  max-width: 640px;
  margin-bottom: 32px;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  margin: 0 0 12px;
}

.pain-grid,
.contract-grid,
.quickstart-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.panel,
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
  margin-bottom: 12px;
}

.best-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.best-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 12px;
}

.footer {
  padding: 40px 8vw 60px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 18px;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 10px;
  }

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