:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #edf1ed;
  background: #0b1112;
  color-scheme: dark;
  --muted: #a8b6b3;
  --amber: #f7bc66;
  --line: #293634;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
.wrap { width: min(100% - 4rem, 71rem); margin-inline: auto; }

.top {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font: 700 .86rem/1.3 ui-monospace, Consolas, monospace;
  letter-spacing: .10em;
}

.brand b { color: var(--amber); }
.brand-mark {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  background: var(--amber);
  clip-path: polygon(0 0, 100% 0, 100% 21%, 25% 79%, 100% 79%, 100% 100%, 0 100%, 0 79%, 75% 21%, 0 21%);
}

.jump { font-size: .92rem; color: var(--muted); text-underline-offset: .25rem; }
.jump:hover { color: #fff; }

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(32rem, 66svh, 42rem);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #121a1b;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #0b1112 3%, #0b1112ef 24%, #0b11128c 52%, #0b11121a 82%),
    linear-gradient(0deg, #0b1112d9, transparent 32%),
    url("/relay.webp") right 48% / cover no-repeat;
}

.hero-content { padding-block: 3.6rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.35rem;
  color: var(--amber);
  font: 700 .88rem/1.4 ui-monospace, Consolas, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 1.4rem; border-top: 1px solid currentColor; }
h1 {
  margin: 0;
  font-family: "Arial Black", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(3.15rem, 8.6vw, 7.25rem);
  font-weight: 900;
  line-height: .97;
  letter-spacing: -.07em;
}

h1 span { color: var(--amber); }
.intro {
  max-width: 25rem;
  margin: 1.8rem 0 1.85rem;
  line-height: 1.58;
  color: #c9d3d0;
  font-size: 1.1rem;
}

.download {
  display: inline-flex;
  align-items: center;
  min-height: 3.45rem;
  gap: .85rem;
  padding: .7rem 1.25rem;
  background: var(--amber);
  color: #16130d;
  border: 1px solid var(--amber);
  border-radius: .25rem;
  font-weight: 750;
  text-decoration: none;
}

.download:hover { background: #ffcf87; }
.download-mark {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  background: linear-gradient(currentColor,currentColor) center / 2px 100% no-repeat,
    linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat;
}

.file-info {
  margin: .75rem 0 0;
  color: var(--muted);
  font: .85rem/1.5 ui-monospace, Consolas, monospace;
}

.file-info span { margin-inline: .35em; }
.install { padding-block: 3.4rem 3.7rem; }
.install-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  margin-bottom: 1.45rem;
}

h2 { margin: 0; font-size: clamp(1.65rem, 3.4vw, 2.2rem); letter-spacing: -.045em; }
.install-heading p, .steps p { color: var(--muted); line-height: 1.55; margin: 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style-position: inside;
  border-block: 1px solid var(--line);
}

.steps li { padding: 1.3rem 1.2rem 1.45rem; }
.steps li + li { border-inline-start: 1px solid var(--line); }
.steps li::marker { color: var(--amber); font-family: ui-monospace, Consolas, monospace; }
.steps h3 { display: inline; margin: 0; font-size: 1.02rem; }
.steps p { margin-top: .5rem; }
.steps code { color: #d5dedb; overflow-wrap: anywhere; }
.footer {
  border-top: 1px solid var(--line);
  padding-block: 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  color: var(--muted);
  font-size: .86rem;
}

@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  .top { min-height: 3.9rem; }
  .brand { font-size: .7rem; letter-spacing: .07em; gap: .5rem; }
  .jump { font-size: .8rem; text-align: right; }
  .hero { min-height: 31rem; }
  .hero::before {
    background:
      linear-gradient(90deg, #0b1112ee, #0b11129c 68%, #0b11125e),
      linear-gradient(0deg, #0b1112dc, transparent 55%),
      url("/relay.webp") 68% center / cover no-repeat;
  }
  .install { padding-block: 2.4rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding-inline: 0; }
  .steps li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
}
