:root {
  color-scheme: dark;
  --forest: #1b2a22;
  --ink: #eff3eb;
  --muted: #bacabf;
  --accent: #c1d6b7;
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: center;
}
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: .5rem;
}
.skip { position: absolute; left: 1rem; top: -5rem; padding: 1rem; background: var(--forest); }
.skip:focus { top: 1rem; z-index: 3; }
#sparkles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.content, .site-footer { position: relative; width: 100%; max-width: 40rem; }
.mascot {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 2rem;
  color: inherit;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
}
.mascot img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }
@media (prefers-reduced-motion: no-preference) {
  .mascot img { transform-origin: 50% 75%; transition: transform 180ms ease-out; }
  @media (hover: hover) and (pointer: fine) {
    .mascot:hover img { transform: translateY(-4px) rotate(-2deg); }
  }
  .mascot:active img { transform: translateY(4px) scale(1.04, .92); transition-duration: 90ms; }
}
h1 {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(3.5rem, 10vw, 5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}
.tagline { margin: .8rem 0 0; color: var(--muted); font-size: 1.5rem; line-height: 1.45; text-wrap: balance; }
.availability { margin: 2rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
/* Apple's badge, unaltered: 40 px tall (Apple's minimum) with a quarter of its height as clear space. */
.store-badge { display: inline-block; padding: 10px; margin: -10px; line-height: 0; }
.store-badge img { display: block; height: 40px; width: auto; }
.site-footer { margin-top: 3rem; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.origin { margin: 0 auto; width: min(100%, 24rem); }
.origin summary { list-style: none; width: fit-content; max-width: 100%; min-height: 44px; margin: 0 auto; padding: .25rem .5rem; cursor: pointer; }
.origin summary::-webkit-details-marker { display: none; }
.origin summary:hover, .site-footer a:hover { color: var(--ink); }
.origin summary span { color: #d6b4b8; }
.origin-photo { display: block; width: 100%; margin-top: 1rem; padding: 0; border: 0; border-radius: .875rem; background: none; cursor: zoom-out; touch-action: manipulation; }
.origin img { display: block; width: 100%; height: auto; border-radius: .875rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .5rem; margin-top: .75rem; }
.site-footer nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  body { padding-top: 2.5rem; }
  .mascot { width: 150px; height: 150px; margin-bottom: 1rem; }
  .tagline { font-size: 1.125rem; }
  .availability { margin-top: 1.5rem; }
  .site-footer { margin-top: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  #sparkles { display: none; }
}
