:root {
  --color-primary:    #0aa534;
  --color-text-muted: #595959; /* WCAG AA: 約6.9:1 on #ffffff */
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #edf2f1;
  color: #2c2c2c;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.page {
  width: 100%;
  max-width: 400px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px 28px 32px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* アプリアイコン */
.app-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.app-icon--image {
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-icon-letter {
  color: #ffffff;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.app-name {
  font-size: 22px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.invite-message {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ボタン群 */
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: block;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 56px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
  transition: transform 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
  opacity: 0.9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.btn-store {
  background: #d6f5eb;
  color: #2c2c2c;
  font-weight: 500;
}

/* 区切り線 */
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 15px;
  margin: 4px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0d9ce;
}

/* 補足テキスト */
.note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
