:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5d677a;
  --line: #dfe5ee;
  --soft: #f5f8fb;
  --brand: #1368d8;
  --brand-strong: #0d4fa8;
  --ok: #18a058;
  --panel: #ffffff;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span,
.eyebrow,
small {
  color: var(--muted);
}

.brand strong,
.brand span {
  display: block;
}

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

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  padding: 64px 0 38px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 8px 0 14px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(680px, 100%);
  margin-top: 12px;
  padding: 14px 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.server-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

code {
  overflow-wrap: anywhere;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 14px;
}

button,
.download-card {
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

button {
  min-width: 76px;
  border: 0;
  border-radius: 7px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

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

.status-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 5px rgba(24, 160, 88, 0.12);
}

.status-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.downloads,
.setup {
  padding: 34px 0;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-size: 30px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.download-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
}

.download-card:hover {
  border-color: var(--brand);
}

.download-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.download-card strong {
  margin: 12px 0;
  font-size: 20px;
}

.download-card.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.download-card.primary span,
.download-card.primary small {
  color: rgba(255, 255, 255, 0.8);
}

.steps {
  margin: 0;
  padding: 24px 24px 24px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  line-height: 1.8;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 28px 0 36px;
  color: var(--muted);
}

footer a {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

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

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

  .download-grid {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}
