/* TUMO LP — パレットはアプリ準拠（docs/11 §4: クリーム地 + 珊瑚/黄アクセント） */
:root {
  --cream: #fdf6ec;
  --ink: #4a3f35;
  --coral: #ef6c57;
  --yellow: #f2c14e;
  --white: #ffffff;
  --muted: #8a7d6f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans',
    'Noto Sans JP', 'Noto Sans KR', 'Noto Sans TC', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.35;
  font-weight: 800;
}

section,
.hero {
  padding: 0 24px;
  max-width: 920px;
  margin: 0 auto;
}

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 72px;
}

.logo {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--coral);
  text-align: left;
}

.logo span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-tumo {
  width: 180px;
  height: 180px;
  margin-top: 24px;
  animation: bounce 2.4s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  50% {
    transform: translateY(-10px) scale(0.98, 1.02);
  }
}

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

.hero h1 {
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  margin-top: 8px;
}

.hero-sub {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--muted);
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 30px;
}

/* ---- CTA ---- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 0 rgba(74, 63, 53, 0.25);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(74, 63, 53, 0.25);
}

.cta svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.cta-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 10px;
}

/* ---- Sections ---- */
section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  margin-bottom: 32px;
}

/* ---- How to play ---- */
.how {
  padding-bottom: 72px;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: var(--white);
  border-radius: 24px;
  padding: 26px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(74, 63, 53, 0.06);
}

.step-icon svg {
  width: 64px;
  height: 64px;
}

.step-num {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-top: 8px;
  font-size: 1.15rem;
}

.step p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.tagline {
  text-align: center;
  font-weight: 900;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: var(--coral);
  margin-top: 30px;
}

/* ---- Features ---- */
.features {
  padding-bottom: 72px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(74, 63, 53, 0.06);
}

.card h3 {
  font-size: 1.1rem;
  color: var(--coral);
}

.card p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}

/* ---- Download ---- */
.dl {
  text-align: center;
  padding-bottom: 84px;
}

.dl h2 {
  margin: 12px 0 24px;
}

/* ---- Footer ---- */
footer {
  background: var(--white);
  padding: 40px 24px 48px;
  text-align: center;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

footer a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}

footer a:hover {
  text-decoration: underline;
}

.langs {
  margin-top: 22px;
}

.langs a,
.langs span {
  font-size: 0.82rem;
  color: var(--muted);
}

.langs span {
  font-weight: 800;
  color: var(--coral);
}

.copyright {
  margin-top: 26px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .steps,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 56px;
  }
}
