body { margin: 0; background: #fff; color: #1d1d1f; font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: #0066cc; }
header.site { position: sticky; top: 0; z-index: 5; overflow: visible; background: rgba(255,255,255,0.94); border-bottom: 1px solid rgba(0,0,0,0.08); }
header.site nav { max-width: 40rem; margin: 0 auto; padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
header.site a { color: #6e6e73; text-decoration: none; transition: color 0.2s ease; }
header.site a.brand {
  color: #1d1d1f;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
header.site a.brand img { width: 28px; height: 28px; border-radius: 7px; flex: none; display: block; }
header.site .apps { display: flex; align-items: center; gap: 1.1rem; }
header.site .apps a[aria-current="page"] { color: #1d1d1f; }
header.site .menu { position: relative; }
header.site .menu > button { background: none; border: 0; padding: 0; color: #6e6e73; font: inherit; cursor: pointer; }
header.site .menu:has(a[aria-current="page"]) > button { color: #1d1d1f; }
header.site .menu > button::after { content: ""; display: inline-block; width: 0.32rem; height: 0.32rem; margin-left: 0.35rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); }
header.site .menu-list { display: none; position: absolute; top: calc(100% + 0.35rem); left: 0; min-width: 11rem; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 0.35rem; z-index: 3; }
header.site .menu-list::before { content: ""; position: absolute; left: 0; right: 0; top: -0.35rem; height: 0.35rem; }
header.site .menu:last-child .menu-list { left: auto; right: 0; }
header.site .menu:hover .menu-list,
header.site .menu:focus-within .menu-list,
header.site .menu.open .menu-list { display: flex; flex-direction: column; }
header.site .menu-list a { color: #1d1d1f; padding: 0.4rem 0.65rem; border-radius: 8px; }
header.site .menu-list a:hover { background: #f5f5f7; }
header.site a:focus-visible, a:focus-visible { outline: 2px solid #0066cc; outline-offset: 3px; }
main { max-width: 40rem; margin: 0 auto; padding: 2.5rem 1.25rem 4.5rem; }
h1 { font-size: 2.5rem; font-weight: 600; letter-spacing: -0.022em; margin: 0; }
h2 { font-size: 1.05rem; font-weight: 600; margin: 2.25rem 0 0.45rem; letter-spacing: -0.01em; }
p.lead { margin: 0.85rem 0 1.4rem; color: #6e6e73; }
.title { display: flex; gap: 0.9rem; align-items: center; }
.title img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
p.by { color: #6e6e73; margin: 0.15rem 0 0; }
p.lead { color: #1d1d1f; }
a.store, img.store { display: inline-block; width: 176px; height: 48px; margin: 0 0 0.75rem; padding: 0; border: 0; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); vertical-align: middle; object-fit: contain; }
a.store { background: url("media/badge-light.svg") center / contain no-repeat; color: transparent; font-size: 1rem; line-height: 48px; overflow: hidden; white-space: nowrap; text-decoration: none; }
a.repo { display: inline-block; background: #1d1d1f; color: #fff; text-decoration: none; border-radius: 980px; padding: 0.55rem 1.05rem; font-weight: 600; vertical-align: middle; }
.reel { position: relative; margin: 1.6rem 0 0; container-type: inline-size; }
.reel-track { display: flex; gap: 0.55rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-track figure { flex: none; width: calc((100% - 1.1rem) / 3); margin: 0; scroll-snap-align: start; }
.reel-track img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 14px; background: #f5f5f7; }
.reel-track figcaption { color: #6e6e73; font-size: 0.78rem; margin: 0.35rem 0 0; text-align: center; }
.reel-btn { position: absolute; top: calc((100cqi - 1.1rem) * 9 / 32); transform: translateY(-50%); width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: rgba(255,255,255,0.94); box-shadow: 0 1px 4px rgba(0,0,0,0.16); cursor: pointer; }
.reel-btn.prev { left: 0.55rem; }
.reel-btn.next { right: 0.55rem; }
.reel-btn::before { content: ""; display: block; width: 0.42rem; height: 0.42rem; border-right: 1.5px solid #1d1d1f; border-bottom: 1.5px solid #1d1d1f; }
.reel-btn.prev::before { transform: rotate(135deg); margin: 0.15rem 0 0 0.55rem; }
.reel-btn.next::before { transform: rotate(-45deg); margin: 0.15rem 0 0 0.35rem; }
.reel-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 0.65rem; }
.reel-dots button { width: 0.45rem; height: 0.45rem; padding: 0; border: 0; border-radius: 50%; background: #d2d2d7; cursor: pointer; }
.reel-dots button[aria-current="true"] { background: #1d1d1f; }
.faq { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.7rem; }
.faq details { background: #f5f5f7; border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 0.85rem 2.2rem 0.85rem 1rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1rem; top: 1.15rem; width: 0.45rem; height: 0.45rem; border-right: 1.5px solid #6e6e73; border-bottom: 1.5px solid #6e6e73; transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.3rem; }
.faq details p { margin: 0; padding: 0 1rem 0.95rem; color: #424245; }
ul { margin: 0.4rem 0 0; padding-left: 1.15rem; }
li { margin: 0.28rem 0; }
.card { background: #f5f5f7; border-radius: 18px; padding: 1rem 1.1rem; margin-top: 0.7rem; }
.card h2, .card h3 { font-size: 1rem; font-weight: 600; margin: 1.15rem 0 0.3rem; letter-spacing: -0.01em; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.card p { margin: 0 0 0.75rem; color: #1d1d1f; font-size: 0.98rem; }
.card p.quiet { color: #6e6e73; }
.card textarea { display: block; width: 100%; box-sizing: border-box; min-height: 5.5rem; background: #fff; color: #1d1d1f; border: 1px solid #d2d2d7; border-radius: 12px; padding: 0.6rem 0.7rem; font: inherit; resize: vertical; }
.card textarea::placeholder { color: #6e6e73; }
.card button { display: inline-block; margin-top: 0.75rem; background: #1d1d1f; color: #fff; border: 0; border-radius: 980px; padding: 0.5rem 1rem; font: inherit; font-weight: 600; cursor: pointer; }
.kofi { margin: 0.85rem 0 0; }
.kofi img { height: 40px; width: auto; display: block; }
p.meta { color: #6e6e73; margin: 0.35rem 0 0; }
@media (max-width: 640px) {
  main { padding-top: 1.75rem; }
  h1 { font-size: 2rem; }
  .reel-track figure { width: calc((100% - 0.55rem) / 2); }
  .reel-btn { top: calc((100cqi - 0.55rem) * 9 / 32); }
}
@media (prefers-reduced-motion: reduce) {
  .reel-track { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  main { animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .card button { transition: transform 0.2s ease, background 0.2s ease; }
  .card button:hover { transform: scale(1.02); }
  @supports (interpolate-size: allow-keywords) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; opacity: 0; overflow: clip; transition: height 0.28s ease, opacity 0.28s ease; }
    .faq details[open]::details-content { height: auto; opacity: 1; }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
