:root {
  --bg: #08111a;
  --panel: #0f1d2b;
  --text: #edf3f8;
  --muted: #9db0c2;
  --line: rgba(140, 188, 234, 0.14);
  --line-strong: rgba(140, 188, 234, 0.26);
  --accent: #4dc7e0;
  --accent-soft: #7bdff2;
  --accent-ink: #08141c;
  --radius: 14px;
  --shell: min(1080px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #08111a 0%, #09131d 42%, #070e15 100%);
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
em { font-style: italic; color: var(--text); }

.shell { width: var(--shell); margin: 0 auto; }

/* ── Topbar ────────────────────────────────────────────────── */

.topbar-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 14, 21, 0.74);
  border-bottom: 1px solid rgba(140, 188, 234, 0.08);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.topnav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav a:hover, .footer a:hover { color: var(--text); }

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  transition: 180ms ease;
}

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

.btn.primary {
  color: var(--accent-ink);
  background: linear-gradient(180deg, #a3ebfa 0%, var(--accent) 100%);
  box-shadow: 0 10px 24px rgba(77, 199, 224, 0.28);
}

.btn.ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

.btn.ghost:hover { color: var(--text); border-color: var(--line-strong); }

.btn.small { min-height: 38px; padding: 0 16px; }

/* ── Hero ──────────────────────────────────────────────────── */

.hero {
  padding: 88px 0 64px;
  text-align: left;
}

.eyebrow {
  color: #c9d9e8;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-headline {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin-top: 14px;
  max-width: 880px;
}

.hero-subheadline {
  margin-top: 22px;
  max-width: 640px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.hero-tags span {
  padding: 6px 12px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent-soft);
  background: rgba(77, 199, 224, 0.10);
  border: 1px solid rgba(77, 199, 224, 0.28);
  border-radius: 999px;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
}

/* ── Sections ──────────────────────────────────────────────── */

.section {
  padding: 64px 0;
  border-top: 1px solid rgba(140, 188, 234, 0.08);
}

.section-header { margin-bottom: 36px; }

.section-label {
  color: #c9d9e8;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-top: 10px;
  max-width: 760px;
}

.section-copy {
  margin-top: 16px;
  color: var(--muted);
  max-width: 660px;
  font-size: 1.04rem;
}

/* ── Grids ─────────────────────────────────────────────────── */

.grid-3, .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card, .card-soft, .step {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 33, 49, 0.88), rgba(11, 22, 33, 0.94));
}

.card-soft {
  background: linear-gradient(180deg, rgba(12, 24, 36, 0.92), rgba(9, 17, 26, 0.96));
}

.card h3, .card-soft h3, .step h3 {
  font-size: 1.15rem;
  margin-top: 8px;
}

.card p, .card-soft p, .step p {
  margin-top: 10px;
  color: var(--muted);
}

code {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.92em;
  color: var(--accent-soft);
  background: rgba(77, 199, 224, 0.08);
  border: 1px solid rgba(77, 199, 224, 0.18);
  border-radius: 4px;
  padding: 1px 6px;
}

.step-index {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(77, 199, 224, 0.16);
  color: var(--accent-soft);
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
}

/* ── Pricing ───────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 33, 49, 0.88), rgba(11, 22, 33, 0.94));
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: rgba(77, 199, 224, 0.42);
  background: linear-gradient(180deg, rgba(14, 36, 44, 0.92), rgba(11, 22, 32, 0.96));
  box-shadow: 0 18px 40px rgba(77, 199, 224, 0.18);
}

.price-tag {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 4px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: linear-gradient(180deg, #a3ebfa 0%, var(--accent) 100%);
  border-radius: 999px;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
}

.price-name {
  color: #c9d9e8;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-amount {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-num {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-unit {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-blurb {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

.price-list {
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.price-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.price-list li:first-child { border-top: 0; }

.price-cta {
  margin-top: auto;
  align-self: stretch;
}

.pricing-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.pricing-note a { color: var(--accent-soft); }
.pricing-note a:hover { color: var(--text); }

/* ── Final CTA ─────────────────────────────────────────────── */

.final-cta {
  text-align: center;
  padding-bottom: 96px;
}

.final-cta .section-title,
.final-cta .section-copy { margin-left: auto; margin-right: auto; }

.final-cta .hero-actions { justify-content: center; }

/* ── Footer ────────────────────────────────────────────────── */

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 900px) {
  .grid-3, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .topbar { flex-wrap: wrap; justify-content: center; }
  .topnav { order: 3; flex-wrap: wrap; justify-content: center; }
  .hero { padding: 56px 0 40px; text-align: center; }
  .hero-headline, .hero-subheadline { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-tags { justify-content: center; }
  .section { padding: 40px 0; }
}
