:root {
  --paper: #f7f5f2;
  --surface: #ffffff;
  --ink: #1c2024;
  --muted: #5f6b72;
  --border: #e3e7eb;
  --accent: #0e9f86;
  --accent-soft: #ddf4ef;
  --link: #1b4dd8;
  --warning: #f2b134;
  --code-panel: #f3f4f6;
  --shadow-soft: 0 18px 40px rgba(28, 32, 36, 0.08);
  --shadow-card: 0 12px 28px rgba(28, 32, 36, 0.05);
  --radius: 12px;
  --content-width: 1100px;
  --copy-width: 680px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfaf8 0%, var(--paper) 100%);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(14, 159, 134, 0.28);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
}

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

.narrow {
  max-width: 48rem;
}

.inline-code,
.command-line code {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
  background: rgba(247, 245, 242, 0.82);
  border-bottom: 1px solid rgba(227, 231, 235, 0.85);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--ink);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(227, 231, 235, 0.9);
  box-shadow: var(--shadow-card);
}

.site-nav,
.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: 3rem;
  padding: 5.5rem 0 4rem;
}

.hero-copy {
  max-width: var(--copy-width);
}

.hero-copy,
.hero-panel,
.install-card,
.install-panel,
.integration-note,
.benefit-card,
.steps {
  min-width: 0;
}

.page-intro {
  padding: 4.5rem 0 1.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.button,
.steps strong,
.command-label {
  font-family: "Space Grotesk", Arial, sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-body,
.benefit-card p,
.steps li,
.site-footer p,
.install-panel p,
.download-list {
  color: var(--muted);
}

.hero-body {
  margin: 1.3rem 0 0;
  font-size: 1.14rem;
  max-width: 36rem;
}

.hero-body.subtle {
  margin-top: 0.9rem;
}

.install-card,
.install-panel,
.hero-panel,
.benefit-card,
.steps {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(227, 231, 235, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.install-card {
  margin-top: 2rem;
  padding: 1.25rem;
}

.command-label {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.command-line {
  margin: 0.75rem 0 0;
  max-width: 100%;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border-radius: 14px;
  background: #14181c;
  color: #f7fffc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.command-line code {
  font-size: 0.94rem;
  line-height: 1.55;
  white-space: pre;
}

.install-note {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #f7fffc;
  box-shadow: 0 10px 24px rgba(14, 159, 134, 0.23);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
  color: var(--ink);
}

.hero-notes {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
}

.hero-notes li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #7bd9c8);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero-panel {
  overflow: hidden;
}

.hero-panel-bar {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(227, 231, 235, 0.92);
  background: linear-gradient(180deg, #fff, #f5f6f8);
}

.hero-panel-bar span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: #d9dde3;
}

.hero-panel-bar span:first-child {
  background: #ffcc80;
}

.hero-panel-bar span:nth-child(2) {
  background: #d0d5dd;
}

.hero-panel-bar span:nth-child(3) {
  background: #a8e5d7;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 3420 / 2078;
  object-fit: cover;
  background: var(--code-panel);
}

.benefits,
.how-it-works,
.ecosystem-note {
  padding: 2rem 0 4rem;
}

.install-sections {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 4rem;
}

.install-panel {
  padding: 1.4rem;
}

.integration-note {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(227, 231, 235, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.integration-note h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.9rem;
}

.integration-note p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.download-list {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.download-list li + li {
  margin-top: 0.4rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.section-heading.compact {
  margin-bottom: 1.25rem;
}

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

.benefit-card {
  padding: 1.4rem;
}

.steps {
  margin: 0;
  padding: 1.5rem 1.5rem 1.5rem 2.8rem;
}

.steps li + li {
  margin-top: 1rem;
}

.site-footer {
  padding: 0;
  border-top: 1px solid rgba(227, 231, 235, 0.92);
  background: rgba(255, 255, 255, 0.54);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .footer-inner,
  .hero,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    display: grid;
    justify-content: normal;
    padding: 1rem 0;
  }

  .site-nav,
  .footer-links {
    gap: 0.75rem 1rem;
  }

  .hero {
    gap: 2rem;
    padding: 3.5rem 0 3rem;
  }

  .hero-panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .button {
    width: 100%;
  }

  .command-line {
    padding: 0.95rem;
  }

  .steps {
    padding: 1.25rem 1.25rem 1.25rem 2.2rem;
  }
}
