:root { --ink: #1a1a1a; --muted: #6b6b6b; --pink: #d6418f; --bg: #fdfcfb; }
body {
  margin: 0 auto;
  max-width: 600px;
  padding: 40px 18px 56px;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
.intro { display: flow-root; }
.intro h1 { margin: 4px 0 6px; }
.tagline { font-weight: 600; margin-bottom: 14px; }
.stack { float: right; position: relative; width: 128px; aspect-ratio: 4 / 5; margin: 38px 14px 22px 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); transition: transform 320ms ease, opacity 320ms ease; }
.stack img:nth-last-of-type(1) { transform: rotate(-2deg); }
.stack img:nth-last-of-type(2) { transform: translate(8px, 6px) rotate(3deg); }
.stack img:nth-last-of-type(3) { transform: translate(14px, 10px) rotate(6deg); }
.stack img:nth-last-of-type(4) { transform: translate(-6px, 8px) rotate(-6deg); }
.stack img:nth-last-of-type(n+5) { transform: translate(-10px, 4px) rotate(-9deg); }
h1 { font-size: 23px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.dot { color: var(--pink); }
h2 { font-size: 17px; font-weight: 600; margin: 36px 0 8px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 18px; }
li { margin-bottom: 8px; }
li::marker { color: var(--pink); }
a { color: var(--pink); text-underline-offset: 3px; }
.say-hi { margin-top: 36px; }
footer { margin-top: 48px; font-size: 14px; }
footer a { color: var(--muted); }

li a, p a { padding: 2px 0; }
@media (min-width: 640px) {
  body { padding: 80px 24px 80px; }
  .intro { position: relative; padding-right: 190px; min-height: 230px; }
  .stack { position: absolute; top: 34px; right: 0; float: none; width: 150px; margin: 0; }
  h1 { font-size: 26px; }
}


.stack img.out { transform: translate(-120%, -8px) rotate(-14deg); opacity: 0; }
.hint { position: absolute; left: 34px; top: -34px; color: var(--pink); font-size: 13px; font-style: italic; text-align: right; pointer-events: none; transition: opacity 300ms ease; }
.hint-text { display: block; margin: 0 14px -2px 0; }
.stack.used .hint { opacity: 0; }
