:root {
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f8f1d9;
  background: #10241a;
  --gold: #f6c875;
  --muted: #bdcdb5;
  --border: #354e3d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 83% 16%, #254332 0%, transparent 39rem), #10241a;
}

h1, h2, p { margin: 0; }

a { color: inherit; }

a:focus-visible {
  outline: 3px solid #f8e3a8;
  outline-offset: 5px;
}

.frame {
  width: min(70rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: .5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.site-header a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .875rem;
  text-decoration-color: transparent;
  text-underline-offset: .25em;
}

.site-header a:hover { text-decoration-color: currentColor; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: Georgia, serif;
  font-size: 1.13rem;
  font-weight: 700;
}

.brand-mark {
  display: block;
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid #a28651;
  border-radius: .65rem;
  background: #254332;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 5rem);
  padding-block: clamp(2.7rem, 7vw, 5.25rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.35rem;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.45rem;
  height: 1px;
  background: var(--gold);
  content: "";
}

h1, h2 { font-family: Georgia, "Times New Roman", serif; }

h1 {
  font-size: clamp(3.9rem, 8.4vw, 7.75rem);
  font-weight: 700;
  letter-spacing: -.074em;
  line-height: .84;
}

h1 em { color: var(--gold); }

.description {
  max-width: 26rem;
  margin-top: 1.65rem;
  color: #e0e9d2;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.download {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.7rem;
  padding: .75rem 1.65rem;
  border: 1px solid #f8db9e;
  border-radius: .5rem;
  background: var(--gold);
  color: #231c10;
  font-size: 1.04rem;
  font-weight: 780;
  text-decoration: none;
}

.download:hover { background: #ffdc99; }

.download-details {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .55rem;
  margin-top: .8rem;
  color: var(--muted);
  font-size: .875rem;
}

.atlas {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.25;
  border: 1px solid #56704d;
  border-radius: 1rem;
  background: #203c30;
  box-shadow: 0 1.5rem 5rem #09150f8a;
}

.atlas::after {
  position: absolute;
  inset: 3%;
  border: 1px solid #f9dda979;
  border-radius: .65rem;
  pointer-events: none;
  content: "";
}

.atlas img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.install {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: clamp(1rem, 5vw, 5rem);
  margin-bottom: 2rem;
  padding-block: 1.65rem 2rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 1.2rem;
}

.install h2 {
  margin-bottom: .55rem;
  font-size: clamp(1.65rem, 3.5vw, 2.45rem);
  letter-spacing: -.04em;
}

.install p, .install ol {
  max-width: 31rem;
  color: var(--muted);
  line-height: 1.55;
}

.install ol { margin: .18rem 0 0; padding-left: 1.5rem; }
.install li { padding-left: .3rem; overflow-wrap: anywhere; }
.install li + li { margin-top: .45rem; }
.install li::marker { color: var(--gold); font-weight: 760; }
.install strong { color: #f8f1d9; }

@media (max-width: 44rem) {
  .frame { width: calc(100% - 2rem); }
  .site-header { padding-block: .7rem; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 2.35rem 1.75rem; }
  h1 { font-size: clamp(3.15rem, 13vw, 5.35rem); }
  .atlas { max-height: 24rem; }
  .install { grid-template-columns: minmax(0, 1fr); padding-block: 1.4rem 1rem; }
}

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