:root {
  color-scheme: light;
  font-family: system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: #152d25;
  background: #f3f5ec;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #a33a13; outline-offset: 5px; }

.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }

.site-header {
  min-height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark { display: flex; align-items: center; gap: .55rem; font-size: 1.25rem; font-weight: 850; letter-spacing: -.035em; }
.wordmark-icon { position: relative; display: inline-block; width: 1.5rem; height: 1.5rem; background: #204a38; border-radius: .45rem; }
.wordmark-icon::after { content: ""; position: absolute; inset: .37rem; border: solid #d8f87e; border-width: 0 0 2px 2px; border-radius: 0 0 0 .15rem; transform: rotate(-12deg); }
.guide-link { font-weight: 650; text-underline-offset: .25em; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 30rem;
  overflow: hidden;
  border-radius: 1.55rem;
  background: radial-gradient(ellipse at 85% 18%, #29523d, #132a23 65%);
  color: #f7f9ed;
}

.hero-copy { position: relative; z-index: 1; padding: clamp(2rem, 6vw, 4.4rem); padding-right: 0; }
.kicker { margin: 0 0 1rem; color: #d8f87e; font-size: .94rem; font-weight: 750; }
h1 { margin: 0; font-size: clamp(3.8rem, 9.5vw, 7.7rem); font-weight: 900; line-height: .91; letter-spacing: -.078em; }
h1 span { color: #d8f87e; }
.intro { margin: 1.4rem 0 1.7rem; color: #e0ead9; font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.55; }

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: .8rem 1.35rem;
  border-radius: .72rem;
  background: #d8f87e;
  color: #182d1b;
  font-weight: 850;
  text-decoration: none;
}

.download:hover { background: #e9ffa9; }
.download:focus-visible { outline-color: #f7f9ed; }
.build-info { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: 0; margin: 1rem 0 0; list-style: none; color: #d0e0d4; font-size: .875rem; line-height: 1.55; }

.hero-art { position: relative; align-self: stretch; min-height: 22rem; overflow: hidden; }
.lane { position: absolute; top: 17%; left: 14%; width: 112%; height: 80%; transform: rotate(-27deg); border: 2px solid #648564; border-radius: 50%; box-shadow: 0 0 0 1.3rem #c3f68b10, 0 0 0 2.7rem #c3f68b0d; background: #d2faa608; }
.pin { position: absolute; width: 19%; height: 49%; border-radius: 48% 48% 45% 45% / 25% 25% 32% 32%; background: linear-gradient(to bottom, transparent 27%, #d65b3a 27% 34%, transparent 34% 38%, #d65b3a 38% 43%, transparent 43%), linear-gradient(100deg, #fdfaf2 35%, #e7e6be 75%, #bfc7a1); box-shadow: inset -.45rem -.3rem 1rem #25393638, .8rem 1rem 1.5rem #0a181a4a; }
.pin-back { top: 13%; right: 23%; transform: rotate(24deg) scale(.83); }
.pin-front { top: 23%; right: 43%; transform: rotate(-20deg); }
.ball { position: absolute; left: 22%; bottom: 12%; width: 46%; max-width: 15rem; aspect-ratio: 1; border-radius: 50%; transform: rotate(-27deg); background: radial-gradient(circle at 35% 25%, #ffb282, #f47c4b 53%, #b73e21 91%); box-shadow: inset -.5rem -.6rem 1.2rem #62220f54, .9rem 1.5rem 2rem #0b1819a0; }
.ball i { position: absolute; width: 12%; height: 10%; border-radius: 50%; background: #522518; box-shadow: inset .16rem .21rem .22rem #2d110a, 0 1px 1px #ffbe94; }
.ball i:nth-child(1) { top: 28%; left: 44%; }
.ball i:nth-child(2) { top: 28%; left: 61%; }
.ball i:nth-child(3) { top: 47%; left: 54%; }

.install { padding: clamp(2rem, 5vw, 3.8rem) 0; scroll-margin-top: 1rem; }
h2 { margin: 0 0 1.25rem; font-size: clamp(1.65rem, 3vw, 2.1rem); letter-spacing: -.045em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 1.25rem; border: 1px solid #d6ddd0; border-radius: .9rem; background: #fff; }
.steps li::before { content: counter(step); display: inline-grid; width: 1.55rem; height: 1.55rem; margin-right: .5rem; place-items: center; background: #e4efdb; border-radius: 50%; color: #234734; font-size: .82rem; font-weight: 800; }
.steps p { margin: .7rem 0 0; color: #42554a; line-height: 1.65; }
.filename { overflow-wrap: anywhere; }
.site-footer { padding-block: 1.2rem 2rem; border-top: 1px solid #d6ddd0; color: #43554a; font-weight: 700; }

@media (max-width: 53rem) {
  .wrap { width: min(100% - 2rem, 72rem); }
  .hero { min-height: 23rem; }
  .hero-copy { padding-left: 2rem; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 38rem) {
  .site-header { min-height: 4rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 1.8rem 1.3rem 0; }
  .hero-art { min-height: 13rem; }
  .lane { top: 19%; left: 29%; width: 75%; }
  .pin { width: 15%; height: 54%; }
  .pin-back { right: 26%; }
  .pin-front { right: 42%; }
  .ball { left: 35%; bottom: 10%; width: min(34%, 9rem); }
}

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