:root {
  color-scheme: light;
  --ink: #142c22;
  --muted: #52685e;
  --cover: #0b2119;
  --cream: #f9fbf5;
  --surface: #edf3e8;
  --mint: #bff68b;
  --line: #cbd8cd;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ol, dl, dd { margin: 0; }
:where(a, [tabindex]):focus-visible { outline: 3px solid #66a53b; outline-offset: 5px; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: .8rem 1.2rem;
  transform: translateY(-180%);
  background: var(--mint);
  color: var(--ink);
}
.skip-link:focus { transform: none; }
.frame { width: min(100% - 5rem, 75rem); margin-inline: auto; }
.cover { color: #f4f9f2; background: var(--cover); }

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.65rem;
  border-bottom: 1px solid #a6d2b13d;
}
.wordmark {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: .67rem;
  font-size: 1.36rem;
  font-weight: 750;
  letter-spacing: -.055em;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: inline-block;
  width: 1.65rem;
  height: 1.17rem;
  border: 2px solid var(--mint);
  border-radius: .18rem;
  overflow: hidden;
}
.brand-mark::after {
  position: absolute;
  top: -.59rem;
  left: .25rem;
  width: .91rem;
  height: .91rem;
  border: solid var(--mint);
  border-width: 0 2px 2px 0;
  content: "";
  rotate: 45deg;
}
.masthead nav { display: flex; align-items: center; gap: 2rem; }
.masthead nav a {
  padding-block: .5rem;
  color: #d1dfd5;
  font-size: .92rem;
  text-decoration: none;
  white-space: nowrap;
}
.masthead nav a:hover { color: var(--mint); }
.masthead > .button { justify-self: end; }

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.18rem;
  border: 1px solid transparent;
  border-radius: .38rem;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s, border-color .16s;
}
.button-outline { min-height: 2.7rem; border-color: #b4d9be6b; }
.button-outline:hover { border-color: var(--mint); background: #ffffff0b; }
.button-primary { background: var(--mint); color: #142411; }
.button-primary:hover { background: #d0ffa8; }
.button-dark { background: var(--cover); color: #f4f9f2; }
.button-dark:hover { background: #244b38; }
.text-link { font-size: .95rem; font-weight: 650; text-underline-offset: .32rem; }
.text-link:hover { color: var(--mint); }

.hero {
  display: grid;
  grid-template-columns: 1fr .94fr;
  align-items: center;
  gap: clamp(1.6rem, 4.5vw, 4.3rem);
  padding-block: clamp(4rem, 7vw, 7.1rem);
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.35rem;
  color: #c8d9ce;
  font-size: .88rem;
  font-weight: 650;
}
.hero-meta span {
  padding: .25rem .47rem;
  border: 1px solid #add1b256;
  border-radius: .26rem;
  color: #dceede;
  font-size: .82rem;
}
h1 {
  font-size: clamp(2.45rem, 5.1vw, 4.94rem);
  font-weight: 750;
  letter-spacing: -.071em;
  line-height: .99;
}
h1 em { color: var(--mint); font-style: normal; }
.hero-lede {
  max-width: 32rem;
  margin-top: 1.65rem;
  color: #d1dfd5;
  font-size: 1.12rem;
  line-height: 1.67;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; margin-top: 1.9rem; }
.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #83b69452;
  border-radius: .67rem;
  background: #13362a;
}

.section-frame { padding-block: clamp(3.2rem, 7vw, 6.4rem); }
.flow { background: var(--surface); }
.section-intro, .requirements {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: clamp(1.35rem, 4.4vw, 4rem);
}
.section-intro { align-items: end; }
h2 {
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  font-weight: 750;
  letter-spacing: -.061em;
  line-height: 1.02;
}
.section-intro p, .requirements p, .download p, .contact p {
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin-top: 2.45rem;
  border-block: 1px solid var(--line);
  list-style: none;
}
.steps li { padding: 1.55rem 1.65rem 1.8rem; }
.steps li + li { border-left: 1px solid var(--line); }
.step-number {
  display: block;
  margin-bottom: 1.15rem;
  color: #39673a;
  font: 650 .91rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace;
}
.steps h3 { margin-bottom: .54rem; font-size: 1.19rem; letter-spacing: -.032em; }
.steps p { color: var(--muted); font-size: 1rem; line-height: 1.62; }
.requirements p { margin-top: 1.25rem; }
.specifications { border-top: 1px solid var(--line); }
.specifications > div {
  display: grid;
  grid-template-columns: 9.9rem 1fr;
  gap: .95rem;
  padding: .98rem 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.46;
}
.specifications dt { font-weight: 700; }
.specifications dd { color: var(--muted); }
.download { background: #dbeacc; }
.download-inner {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: clamp(1.35rem, 4.4vw, 4rem);
  padding-block: clamp(2.4rem, 5.6vw, 4.7rem);
}
.download p { margin-top: .9rem; }
.download-file {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: .65rem;
  padding: 1.3rem;
  border: 1px solid #a6bca0;
  border-radius: .55rem;
}
.file-meta { color: #3d5548; font-size: .9rem; }
.checksum-link { font-size: .91rem; font-weight: 650; text-underline-offset: .2rem; }
.digest {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #3d5548;
  font: .8rem/1.45 ui-monospace, "Cascadia Mono", Consolas, monospace;
}
.contact { background: #17392b; color: #f4f9f2; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.6rem;
  padding-block: clamp(2.5rem, 5vw, 4.45rem);
}
.contact h2 { max-width: 44rem; font-size: clamp(1.8rem, 3.7vw, 3.1rem); }
.contact p { margin-top: .75rem; color: #d1dfd5; }
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.55rem;
  padding-block: 1.5rem;
  color: var(--muted);
  font-size: .95rem;
}
.footer a { text-underline-offset: .2rem; }
.footer-divider { padding-inline: .45rem; }

@media (max-width: 56rem) {
  .frame { width: min(100% - 3rem, 75rem); }
  .hero { gap: 1.45rem; }
  .masthead nav { gap: 1rem; }
  .steps li { padding: 1.28rem 1.05rem 1.45rem; }
  .specifications > div { grid-template-columns: 1fr; gap: .28rem; }
}

@media (max-width: 42rem) {
  .frame { width: min(100% - 2rem, 75rem); }
  .masthead { grid-template-columns: 1fr auto; gap: .4rem 1rem; padding-block: .9rem .6rem; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; gap: 1.35rem; }
  .masthead > .button { grid-row: 1; grid-column: 2; }
  .hero, .section-intro, .requirements, .steps, .download-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 3.4rem 2.1rem; gap: 1.9rem; }
  .hero-lede { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.5rem; }
  .steps { margin-top: 1.65rem; }
  .steps li { padding: 1.15rem 0; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .step-number { margin-bottom: .6rem; }
  .contact-inner > .button { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
