:root {
  --ink: #17324a;
  --muted: #4a6a80;
  --paper: #fffdf8;
  --sky-top: #7ec8e8;
  --sky-bottom: #e8f6fc;
  --shadow: 0 14px 28px rgb(23 50 74 / 16%);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom) 55%, #f4fbff);
  overflow-x: hidden;
  user-select: none;
  touch-action: manipulation;
}

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cloud {
  position: absolute;
  width: 120px;
  height: 48px;
  background: rgb(255 255 255 / 72%);
  border-radius: 999px;
  filter: blur(0.2px);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud::before {
  width: 56px;
  height: 56px;
  top: -28px;
  left: 18px;
}

.cloud::after {
  width: 72px;
  height: 72px;
  top: -36px;
  left: 48px;
}

.c1 {
  top: 8%;
  left: -20px;
  animation: drift 28s linear infinite;
}

.c2 {
  top: 18%;
  right: -40px;
  width: 150px;
  animation: drift 36s linear infinite reverse;
}

.c3 {
  top: 42%;
  left: 35%;
  opacity: 0.7;
  animation: drift 42s linear infinite;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud {
    animation: none;
  }

  .app-card:active {
    transform: none;
  }
}

.shell {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.hero {
  text-align: center;
  margin-bottom: 28px;
}

.brand {
  margin: 0;
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-shadow: 0 2px 0 rgb(255 255 255 / 55%);
}

.tagline {
  margin: 10px 0 0;
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  color: var(--muted);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 16px;
}

.app-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 108px;
  padding: 14px 18px 14px 14px;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.app-card:active {
  transform: scale(0.98);
}

.app-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: var(--soft, #e8f6fc);
  font-size: 2.8rem;
  line-height: 1;
}

.app-copy {
  min-width: 0;
}

.app-title {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  font-weight: 900;
  line-height: 1.2;
}

.app-blurb {
  margin: 6px 0 0;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.app-go {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent, #2f6f8f);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.empty {
  padding: 28px;
  border-radius: 24px;
  background: rgb(255 253 248 / 85%);
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}
