:root {
  --bg: #f6f8fc;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-strong: #f8fbff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe3ef;
  --accent: #2563eb;
  --accent-soft: #e8f0ff;
  --accent-strong: #1d4ed8;
  --dark: #081225;
  --dark-line: rgba(255,255,255,0.08);
  --ok: #22c55e;
  --danger: #f97316;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.06), transparent 22%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 227, 239, 0.8);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: 0.18s ease;
}

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

.button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.button.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.secondary,
.button.nav-cta {
  background: #fff;
  color: var(--text);
}

.hero {
  padding: 5rem 0 4rem;
}

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

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
  margin-bottom: 1rem;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.95rem, 3vw, 3.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.subheadline {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
}

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

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.8rem;
  background: var(--accent-soft);
  color: #184ea6;
  border: 1px solid #d2e2ff;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.terminal-card,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.terminal-card {
  background: linear-gradient(180deg, #0d172b 0%, #09101d 100%);
  border: 1px solid var(--dark-line);
  overflow: hidden;
  min-height: 320px;
}

.terminal-top {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1rem 0.6rem;
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.3);
}

.terminal-top span:nth-child(1) { background: #fb7185; }
.terminal-top span:nth-child(2) { background: #fbbf24; }
.terminal-top span:nth-child(3) { background: #34d399; }

.terminal-body {
  padding: 0.25rem 1rem 1.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: #dbeafe;
  font-size: 0.92rem;
  line-height: 1.7;
}

.terminal-line {
  margin: 0.25rem 0;
  word-break: break-word;
}

.terminal-line.dim {
  color: #93c5fd;
  opacity: 0.85;
}

.label {
  color: #c4b5fd;
}

.error {
  color: #fdba74;
}

.ok {
  color: #86efac;
  font-weight: 700;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: rgba(255,255,255,0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.steps,
.three-up,
.case-grid {
  display: grid;
  gap: 1.15rem;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0 0.8rem;
}

.card {
  padding: 1.25rem;
}

.step-number {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.feature-card {
  padding-top: 1.05rem;
}

.feature-icon {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 800;
}

.card p,
.case-intro,
.case-conclusion,
.closing p,
.site-footer,
li {
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: #edfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.9rem;
  font-weight: 800;
}

.case-conclusion {
  margin-top: 1rem;
  font-weight: 600;
}

.closing {
  max-width: 760px;
  text-align: center;
}

.site-footer {
  padding: 1.6rem 0 2.5rem;
  background: transparent;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-weight: 800;
  color: var(--text);
}

.footer-link {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .steps,
  .three-up,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: auto;
    padding: 1rem 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 4rem;
  }

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

  .button,
  .nav-cta {
    width: 100%;
  }
}
