:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --paper: #ffffff;
  --text: #17201b;
  --muted: #5f6b63;
  --line: #dcd7cc;
  --accent: #2f7d63;
  --accent-dark: #1f5c48;
  --gold: #b07a18;
  --soft: #eef4ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(47, 125, 99, 0.08), transparent 330px),
    radial-gradient(circle at top right, rgba(176, 122, 24, 0.12), transparent 280px),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.hero {
  position: relative;
  padding: 26px 0 28px;
}

.hero::before {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  max-width: 780px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 4px;
  font-size: 19px;
}

.intro {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.meta-row span {
  padding: 8px 11px;
  border: 1px solid rgba(47, 125, 99, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 750;
}

.bundle,
.download-item,
.install,
.scope {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(50, 42, 28, 0.06);
}

.bundle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0 30px;
  padding: 26px;
  overflow: hidden;
}

.bundle::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.bundle p,
.section-head p,
.download-item p,
.scope p {
  margin-bottom: 0;
  color: var(--muted);
}

.bundle-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 156px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: #fbfdfb;
  color: var(--accent-dark);
  font-weight: 800;
  text-align: center;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.button.primary {
  min-width: 230px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 92, 72, 0.18);
}

.button span {
  color: currentColor;
  font-size: 13px;
  font-weight: 650;
  opacity: 0.76;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-dark);
  box-shadow: 0 10px 22px rgba(31, 92, 72, 0.12);
  transform: translateY(-1px);
  outline: 3px solid rgba(47, 125, 99, 0.16);
}

.downloads,
.install {
  margin-top: 28px;
}

.scope {
  margin-top: 22px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.72);
}

.scope h2 {
  margin-bottom: 6px;
  font-size: 22px;
}

.scope p {
  max-width: 820px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding-top: 2px;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 18px 20px;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.download-item:hover {
  border-color: rgba(47, 125, 99, 0.36);
  box-shadow: 0 18px 34px rgba(50, 42, 28, 0.08);
  transform: translateY(-1px);
}

.install {
  padding: 24px;
}

.install ol {
  margin: 14px 0 20px;
  padding-left: 22px;
  color: var(--muted);
}

.install li + li {
  margin-top: 6px;
}

.path-row span,
.path-row code {
  display: block;
}

.path-row code {
  margin-top: 8px;
  padding: 13px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--text);
}

.path-row span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .page {
    width: 100%;
    padding: 22px 10px;
  }

  .bundle,
  .download-item {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button.primary {
    width: 100%;
  }

  .bundle,
  .download-item,
  .install,
  .scope {
    padding: 18px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }
}
