:root {
  color-scheme: dark;
  --forest: #152e2a;
  --deep: #102621;
  --cream: #fff1d2;
  --muted: #c6d8c9;
  --mint: #c8e9b8;
  --line: #49665a;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--cream);
  background: var(--forest);
}

* { box-sizing: border-box; }
body, figure { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

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

.header, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}
.header { border-bottom: 1px solid var(--line); }
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.25rem;
  font-weight: 750;
  text-decoration: none;
}
.brand img { border-radius: .65rem; }
nav { display: flex; gap: clamp(.75rem, 3vw, 2rem); }
nav a, .footer a { text-decoration-thickness: 1px; text-underline-offset: .25em; }

.hero {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5rem);
  padding-block: clamp(2.4rem, 4vw, 4rem);
}
h1, h2 {
  margin: 0;
  font: 400 clamp(3.15rem, 5.7vw, 5.5rem)/.98 Georgia, serif;
  letter-spacing: -.065em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.4rem, 4.4vw, 4.35rem); }
.label { color: var(--mint); margin: 0 0 1rem; font-weight: 600; }
.lede {
  max-width: 44ch;
  margin: 1.35rem 0 1.55rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  scroll-margin-top: 1.5rem;
}
.store {
  display: grid;
  min-width: 8.75rem;
  padding: .6rem 1rem;
  border: 1px solid var(--mint);
  border-radius: .55rem;
  background: var(--mint);
  color: var(--deep);
  line-height: 1.35;
  text-decoration: none;
}
.store span { font-size: 1.06rem; font-weight: 750; }
.store small { font-size: .8rem; }
.store:hover { background: var(--cream); color: var(--deep); border-color: var(--cream); }
.store:focus-visible { outline-color: var(--cream); }

.stage, .hint-stage {
  display: grid;
  min-width: 0;
  place-items: center;
}
.stage {
  background: repeating-radial-gradient(ellipse at center, #234238 0 25px, #2c5143 26px 27px, #234238 28px 46px);
  border: 1px solid var(--line);
  border-radius: 48% 48% 43% 43%;
  padding: 1.15rem 1.5rem;
}
.device {
  overflow: hidden;
  width: min(100%, 16.5rem);
  border: 5px solid #0b1c18;
  border-radius: 1.45rem;
  box-shadow: 0 0 0 1px #6c8e7b, 0 1.25rem 2.5rem #071c17a6;
  background: var(--forest);
}
.device img { display: block; width: 100%; height: auto; }

.guide {
  background: #e4edd6;
  color: var(--deep);
}
.guide-layout, .feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}
.guide ol { margin: 0; padding-left: 1.4rem; }
.guide li { padding: .7rem 0 .7rem .4rem; }
.guide li + li { border-top: 1px solid #a0b394; }
.guide li::marker { font-weight: 750; }
.guide strong { display: block; }

.hint-stage {
  padding: 1.5rem 1rem;
  background: #203c33;
  border-radius: 1rem;
}
.hint-stage .device { width: min(100%, 14rem); }
.tools { margin: 1.25rem 0 0; }
.tools div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .75rem;
  padding-block: .6rem;
  border-bottom: 1px solid var(--line);
}
.tools dt { color: var(--mint); font-weight: 750; }
.tools dd { margin: 0; }
.feature p { color: var(--muted); }

.help {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.help h2 { margin-bottom: 1.4rem; }
.help details { border-top: 1px solid var(--line); }
.help summary { cursor: pointer; padding: .85rem 0; font-weight: 650; }
.help p { max-width: 62ch; margin: 0 0 1.2rem; color: var(--muted); }
.footer { border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 46rem) {
  .hero, .guide-layout, .feature { grid-template-columns: 1fr; }
  .stage { width: min(100%, 28rem); margin-inline: auto; }
  .feature .hint-stage { grid-row: 2; }
}

@media (max-width: 24rem) {
  .shell { width: calc(100% - 2rem); }
  h1 { font-size: clamp(2.5rem, 11vw, 3.15rem); }
  .header { gap: .5rem; }
  nav { font-size: .9rem; }
  .store { min-width: 0; flex: 1 1 7.5rem; padding-inline: .7rem; }
}
