@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-soft: #f0f4ef;
  --surface-ink: #0f1720;
  --ink: #101827;
  --muted: #475467;
  --line: #d6dde4;
  --line-strong: #b7c2cf;
  --accent: #157f3b;
  --accent-soft: #edf7ef;
  --warn: #b54708;
  --warn-soft: #fff3e8;
  --critical: #b42318;
  --critical-soft: #fff1ef;
  --shadow: 0 18px 48px rgba(16, 24, 39, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1120px;
  --section-pad: clamp(3.5rem, 7vw, 6rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(21, 127, 59, 0.035), transparent 14rem),
    linear-gradient(180deg, #fafbf9 0%, var(--bg) 100%);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(16, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 90%);
  content: "";
}

a {
  color: inherit;
}

code,
pre,
.sample-card__body {
  font-family: "IBM Plex Mono", monospace;
}

.topbar,
.section,
.footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.brand,
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  font-weight: 700;
  text-decoration: none;
}

.brand__dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(21, 127, 59, 0.12);
}

.topbar__nav a,
.text-link {
  color: var(--muted);
  text-decoration: none;
}

.topbar__nav a:hover,
.text-link:hover,
.footer__links a:hover {
  color: var(--ink);
}

.section {
  padding: var(--section-pad) 0;
}

.section--bordered {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 2rem;
  align-items: start;
  padding-top: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 7vw, 6rem);
}

.lead,
.section-heading p,
.compare-card ul,
.capability-card p,
.install-card li,
.oss-card p,
.footer__copy,
.aside-note span {
  color: var(--muted);
}

.lead {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  font-size: clamp(1.06rem, 1.7vw, 1.25rem);
}

.hero__actions,
.oss-grid,
.capability-grid,
.install-grid,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__actions {
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

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

.button--primary {
  background: var(--surface-ink);
  color: #fff;
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
}

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

.button--small {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
}

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

.facts__item {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
}

.facts__item dt {
  color: var(--muted);
  font-size: 0.84rem;
}

.facts__item dd {
  margin: 0.18rem 0 0;
  font-weight: 700;
}

.hero__panel {
  display: grid;
  gap: 1rem;
}

.sample-card,
.aside-note,
.compare-card,
.capability-card,
.install-card,
.oss-card,
.shell-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sample-card {
  overflow: hidden;
}

.sample-card__header,
.install-card__header,
.shell-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.sample-card__header {
  background: var(--surface-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.sample-card__header span:last-child,
.shell-card__header span:last-child {
  color: var(--muted);
}

.sample-card__body {
  margin: 0;
  padding: 1.15rem;
  overflow-x: auto;
  background: #0f1720;
  color: #e5edf5;
  font-size: 0.9rem;
  line-height: 1.75;
}

.aside-note {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.1rem;
  background: #fbfcfb;
}

.section-heading {
  max-width: 44rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
}

.section-heading p {
  margin: 1rem 0 0;
  font-size: 1.02rem;
}

.compare-grid,
.capability-grid,
.oss-grid,
.install-grid,
.shell-grid {
  margin-top: 2rem;
}

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

.compare-card,
.capability-card,
.install-card,
.oss-card {
  padding: 1.5rem;
}

.compare-card__label {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare-card h3,
.capability-card h3,
.install-card h3,
.oss-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.18;
}

.compare-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.compare-card ul li + li,
.install-card ol li + li {
  margin-top: 0.52rem;
}

.compare-card--strong {
  border-color: rgba(21, 127, 59, 0.28);
  background: linear-gradient(180deg, rgba(237, 247, 239, 0.95), #ffffff);
}

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

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

.install-card ol {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.shell-card {
  overflow: hidden;
}

.shell-card pre {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  overflow-x: auto;
  background: var(--surface-ink);
  color: #d6f7df;
}

.shell-card--light pre {
  background: var(--surface-soft);
  color: var(--ink);
}

.oss-card code,
.install-card code,
.facts code,
.aside-note code {
  padding: 0.08rem 0.32rem;
  border-radius: 0.35rem;
  background: rgba(16, 24, 39, 0.06);
  font-size: 0.92em;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0 2.8rem;
  border-top: 1px solid var(--line);
}

.footer__title,
.footer__copy {
  margin: 0;
}

.footer__title {
  font-weight: 700;
}

.footer__links {
  justify-content: flex-end;
}

.footer__links a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .compare-grid,
  .capability-grid,
  .install-grid,
  .shell-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .topbar__nav {
    flex-wrap: wrap;
  }

  .facts,
  .capability-grid,
  .oss-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
