:root {
  color-scheme: light;
  background: #f7faf9;
  color: #173b38;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.75,.25,1);
}
* { box-sizing: border-box; }
body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
}
main {
  width: min(20rem, calc(100% - 3rem));
  padding-block: 2rem;
  text-align: center;
  animation: page-focus 640ms ease-out backwards;
}
header { display: grid; justify-items: center; }
.emblem {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.34rem;
  color: #164c43;
  background: #d9eee7;
  animation: mark-in 630ms var(--ease) backwards;
}
.emblem img { width: 3.125rem; height: 3.125rem; object-fit: contain; }
h1 {
  margin: .82rem 0 1.85rem;
  font-size: clamp(3.1rem, 13vw, 4rem);
  font-weight: 650;
  line-height: 1;

}
.wordmark { display: flex; justify-content: center; }
.wordmark span {
  display: block;
  animation: assemble 740ms var(--ease) var(--delay) backwards;
}
.wordmark span + span { margin-left: -.065em; }
.wordmark span:nth-child(1) { --x: -1.05em; --y: -.62em; --tilt: -14deg; --delay: 55ms; }
.wordmark span:nth-child(2) { --x: -.22em; --y: .87em; --tilt: 12deg; --delay: 102ms; }
.wordmark span:nth-child(3) { --x: .13em; --y: -1.05em; --tilt: -8deg; --delay: 151ms; }
.wordmark span:nth-child(4) { --x: .52em; --y: .68em; --tilt: 13deg; --delay: 119ms; }
.wordmark span:nth-child(5) { --x: 1.06em; --y: -.36em; --tilt: 14deg; --delay: 77ms; }
a { color: inherit; text-decoration: none; }
.download {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: .5rem 1rem;
  border-radius: 1rem;
  background: #174e44;
  color: #fff;
  font-size: 1rem;
  font-weight: 650;
  animation: appear 460ms var(--ease) 900ms backwards;
}
.community {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  margin-top: .65rem;
  animation: appear 420ms var(--ease) 950ms backwards;
}
.community a {
  display: grid;
  place-items: center;
  min-height: 2.8rem;
  border-radius: .4rem;
  padding: 0 .2rem;
  color: #305950;
  font-size: .95rem;
  font-weight: 570;
}
.download, .community a { transition: background-color 160ms ease, transform 160ms ease; }
.download:active, .community a:active { transform: scale(.975); }
@media (hover: hover) {
  .download:hover { background: #226356; }
  .community a:hover { background: #e8f3ee; }
}
:where(a,button,summary,input):focus-visible { outline: 2px solid #18715f; outline-offset: 3px; }
.fallback { margin-top: .55rem; color: #536a63; font-size: .875rem; animation: appear 420ms var(--ease) 1000ms backwards; }
.fallback summary { width: fit-content; margin: auto; cursor: pointer; padding: .5rem .2rem; }
.fallback-links { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .4rem .65rem; padding: .35rem .6rem; }
.fallback-links a { text-align: left; overflow-wrap: anywhere; }
.fallback-links button {
  border: 0;
  border-radius: .35rem;
  background: #e5f1eb;
  color: #174e44;
  cursor: pointer;
  font: inherit;
  min-height: 2rem;
  padding: .3rem .6rem;
}
.announcement { margin: .55rem 0 0; }
.announcement:empty { display: none; }
.copy-field { width: 100%; margin-top: .5rem; padding: .55rem; border: 1px solid #96b6ab; border-radius: .5rem; font: inherit; }
@keyframes page-focus {
  from { filter: blur(3px); }
  to { filter: none; }
}
@keyframes assemble {
  from { opacity: 0; filter: blur(5px); transform: translate(var(--x),var(--y)) rotate(var(--tilt)) scale(.85); }
  28% { opacity: .8; }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes mark-in {
  from { opacity: 0; transform: translateY(10px) scale(.91); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.02); }
  to { opacity: 1; transform: none; }
}
@keyframes appear {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
