@font-face {
  font-family: "Turi WenKai";
  src: url("assets/fonts/LXGWWenKaiTC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Turi Hand";
  src: url("assets/fonts/PatrickHand-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: "Turi WenKai", "Kaiti SC", KaiTi, serif;
  color: #3c315b;
  background: #f5f2ff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
.welcome {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(54px, 17svh, 210px) 18px clamp(36px, 9svh, 75px);
  text-align: center;
}
.intro {
  margin: 0 0 clamp(30px, 5vw, 60px);
  color: #89809f;
  font-size: clamp(12.75px, 2.1vw, 27px);
  line-height: 1.5;
}
h1 {
  margin: 0;
  font-size: clamp(30px, 7.2vw, 93px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.04em;
}
.headline { display: block; white-space: nowrap; }
.star {
  display: inline-block;
  width: .85em;
  height: .85em;
  color: #ab9ff2;
  vertical-align: -.04em;
  transform: rotate(-15deg);
  animation: twinkle 6s ease-in-out infinite;
}
.meet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 66px;
  margin-top: clamp(36px, 5.7vw, 73.5px);
  padding: 19.5px 36px;
  border-radius: 999px;
  background: #ffffffc9;
  color: inherit;
  font-size: clamp(16.5px, 1.9vw, 24px);
  line-height: 1.3;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.meet span { font-family: "Turi Hand", cursive; }
.computer { width: 27px; height: 27px; flex: none; }
.meet:hover { background: #fff; transform: translateY(-3px); }
.meet:focus-visible { outline: 3px solid #8972cf; outline-offset: 6px; }
.title-icon {
  display: inline-block;
  width: .85em;
  height: .85em;
  vertical-align: -.06em;
}
.edge-pet {
  position: fixed;
  z-index: 2;
  right: -1px;
  top: 48%;
  width: clamp(180px, 30vw, 285px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-25%);
  clip-path: inset(0 0 0 42%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.edge-pet img { display: block; width: 100%; height: 100%; pointer-events: none; }
.edge-pet:focus-visible { outline: none; }
.edge-pet:focus-visible::after {
  content: "";
  position: absolute;
  inset: 10% 2px 10% 44%;
  border: 2px dashed #8972cf;
  border-radius: 28px 0 0 28px;
}
@keyframes twinkle {
  0%, 100% { transform: rotate(-15deg) scale(.95); }
  50% { transform: rotate(15deg) scale(1.05); }
}
@media (max-width: 600px) {
  .welcome { padding: 80px 20px 64px; }
  .intro { font-size: clamp(15px, 4vw, 22px); margin-bottom: 40px; }
  h1 { font-size: clamp(30px, 8vw, 48px); line-height: 1.55; }
  .meet { min-height: 68px; margin-top: 48px; padding: 18px 30px; gap: 12px; font-size: 22px; }
  .computer { width: 30px; height: 30px; }
  .edge-pet { width: 190px; top: auto; bottom: 8px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .star { animation: none; }
  .meet { transition: none; }
}
