:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6975;
  --line: #dce4ea;
  --panel: #ffffff;
  --soft: #f4f7f8;
  --green: #16845b;
  --blue: #1d67a8;
  --amber: #a06412;
  --red: #b33c31;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f9fa;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #b9c8d3;
  background: #e8f0f3;
  color: #19364a;
  font-size: 13px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

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

main {
  min-height: calc(100vh - 142px);
}

.install-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 72px) clamp(40px, 7vw, 76px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 249, 250, 0.78), rgba(247, 249, 250, 0.9)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='640' viewBox='0 0 1200 640'%3E%3Crect width='1200' height='640' fill='%23eef4f6'/%3E%3Cg fill='none' stroke='%23c9d7df' stroke-width='2'%3E%3Cpath d='M98 430 C220 300 328 290 465 386 S747 510 914 352 1086 188 1182 238'/%3E%3Cpath d='M60 246 C206 116 356 128 492 248 S756 410 930 248 1096 112 1192 152'/%3E%3Cpath d='M34 548 C214 474 340 506 492 574 S802 616 964 480 1114 350 1190 374'/%3E%3C/g%3E%3Cg fill='%23ffffff' stroke='%239ab2c0' stroke-width='2'%3E%3Ccircle cx='178' cy='346' r='34'/%3E%3Ccircle cx='460' cy='386' r='28'/%3E%3Ccircle cx='758' cy='430' r='36'/%3E%3Ccircle cx='950' cy='256' r='30'/%3E%3Ccircle cx='1036' cy='152' r='24'/%3E%3C/g%3E%3Cg fill='%2319364a'%3E%3Ccircle cx='178' cy='346' r='6'/%3E%3Ccircle cx='460' cy='386' r='6'/%3E%3Ccircle cx='758' cy='430' r='6'/%3E%3Ccircle cx='950' cy='256' r='6'/%3E%3Ccircle cx='1036' cy='152' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #356171;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  color: #354551;
  font-size: 19px;
  line-height: 1.58;
}

.command-row {
  display: flex;
  width: min(100%, 720px);
  margin-top: 28px;
  border: 1px solid #b8c7d0;
  background: #111a22;
  color: #f7fbfc;
}

.command-row code {
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: clamp(17px, 3vw, 23px);
  white-space: nowrap;
}

.copy-button {
  min-width: 92px;
  border: 0;
  border-left: 1px solid #344651;
  background: #d4f0df;
  color: #10291c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.copy-button:hover {
  background: #c1e6d0;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.quick-links a {
  padding: 10px 13px;
  border: 1px solid #b6c6cf;
  background: rgba(255, 255, 255, 0.82);
  color: #243947;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.runtime-panel {
  border: 1px solid #bccbd3;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(31, 47, 60, 0.12);
}

.panel-title {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: #2b3f4c;
  font-weight: 800;
}

pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  background: #17212b;
  color: #eaf4f6;
  line-height: 1.55;
}

.runtime-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  list-style: none;
}

.runtime-panel li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #344755;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot.good {
  background: var(--green);
}

.status-band,
.methods {
  padding: 48px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.status-grid,
.method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.status-card,
.method-list article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.system {
  font-size: 22px;
  font-weight: 820;
}

.badge {
  padding: 6px 9px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
}

.ready .badge {
  color: var(--green);
}

.active .badge {
  color: var(--blue);
}

.fallback .badge {
  color: var(--amber);
}

.status-card p,
.method-list p {
  color: var(--muted);
  line-height: 1.5;
}

.status-card code,
.mini-command {
  display: block;
  margin-top: 18px;
  padding: 12px;
  overflow-x: auto;
  background: var(--soft);
  color: #1d2b34;
  font-size: 14px;
}

.method-list h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .install-hero,
  .status-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

  .install-hero {
    align-items: start;
  }

  .command-row {
    flex-direction: column;
  }

  .copy-button {
    min-height: 48px;
    border-left: 0;
    border-top: 1px solid #344651;
  }
}

