:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #edf4ff;
  background: #101927;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(42rem, calc(100% - 2rem)); margin-inline: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-block: 1.1rem;
  font-weight: 700;
  border-bottom: 1px solid #35455f;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .55rem;
  background: #3061da;
  font-size: .9rem;
}

main.wrap { padding-block: clamp(1.5rem, 6vw, 3.25rem); }

.download {
  padding: clamp(1.2rem, 5vw, 2.25rem);
  border: 1px solid #35455f;
  border-radius: 1rem;
  background: #192638;
}

h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.85rem, 6vw, 2.8rem); line-height: 1.12; letter-spacing: -.04em; }
h2 { font-size: 1.35rem; }
.intro { color: #b8c8de; margin-top: .65rem; }
.connection { margin-top: 1.25rem; }
.connection label { display: block; font-weight: 700; font-size: .9rem; }
.connection-input { margin-top: .4rem; display: flex; gap: .55rem; }
.connection-input input { flex: 1; min-width: 0; border: 1px solid #526988; border-radius: .55rem; padding: .65rem; background: #101927; color: inherit; font: .92rem Consolas, monospace; }
.connection-input button { background: #263951; color: inherit; border: 1px solid #526988; border-radius: .55rem; padding: .65rem .8rem; font: inherit; font-weight: 700; cursor: pointer; }
.connection-input button:hover { background: #354f74; }
.connection-input :focus-visible { outline: 2px solid #88b5ff; outline-offset: 3px; }

.download-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.4rem;
  min-height: 3rem;
  padding: .65rem 1.1rem;
  border-radius: .6rem;
  background: #5497ff;
  color: #07182f;
  font-weight: 750;
  text-decoration: none;
}

.download-button:hover { background: #77adff; }
.download-button:focus-visible { outline: 2px solid #88b5ff; outline-offset: 4px; }
.file-info { margin-top: .65rem; color: #b8c8de; font-size: .9rem; }
.instructions { padding: 1.5rem .2rem 0; }
ol { margin: .6rem 0 0; padding-left: 1.45rem; }
li { padding-left: .3rem; }
li + li { margin-top: .5rem; }
li::marker { color: #88b5ff; font-weight: 700; }
kbd { padding: .04rem .22rem; border: 1px solid #526988; border-radius: .2rem; font-size: .88em; }
.alternative { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #35455f; color: #b8c8de; }
.alternative a { color: #a9ccff; text-underline-offset: .22em; }
.alternative a:focus-visible { outline: 2px solid #88b5ff; outline-offset: 4px; }

@media (max-width: 28rem) {
  .download-button { width: 100%; }
  .connection-input { flex-direction: column; }
}
