:root {
  --background: #f5f9f7;
  --surface: #ffffff;
  --text-primary: #3f4743;
  --text-secondary: #737d77;
  --primary: #8faf9a;
  --primary-dark: #718f7b;
  --border: #e5ece7;
  --shadow: 0 4px 18px rgba(36, 56, 45, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

.hero {
  padding: 72px 0;
  text-align: center;
}

.hero h1 {
  margin: 20px 0 8px;
  font-size: clamp(28px, 6vw, 32px);
  line-height: 1.35;
}

.hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.cloud {
  position: relative;
  width: 58px;
  height: 22px;
  margin: 0 auto;
  border-radius: 999px;
  background: #dcecf3;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 5px;
  border-radius: 50%;
  background: #dcecf3;
}

.cloud::before {
  left: 10px;
  width: 25px;
  height: 25px;
}

.cloud::after {
  right: 9px;
  width: 31px;
  height: 31px;
}

.apps {
  padding-bottom: 8px;
}

.apps h2 {
  margin: 0 0 20px;
  font-size: 20px;
}

.empty-card,
.app-card,
.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.empty-card {
  padding: 24px 20px;
}

.empty-card__title {
  margin: 0 0 6px;
  font-weight: 700;
}

.empty-card__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.app-card {
  margin-top: 16px;
  padding: 20px;
}

.app-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-card__icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
}

.app-card__name {
  margin: 0;
  font-size: 20px;
}

.app-card__subtitle {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.app-card__description {
  margin: 18px 0;
  font-size: 14px;
}

.store-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.store-link:hover {
  background: var(--primary-dark);
}

.store-link:active {
  transform: translateY(1px);
}

.footer {
  margin-top: 80px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
}

.footer__links a,
.back-link,
.policy-card a {
  text-underline-offset: 3px;
}

.footer p {
  margin: 0;
}

.page-header {
  padding: 48px 0 24px;
}

.page-header h1 {
  margin: 18px 0 0;
  font-size: clamp(26px, 6vw, 32px);
}

.back-link {
  color: var(--text-secondary);
  font-size: 14px;
}

.policy-card {
  padding: 24px 20px;
}

.policy-card section + section {
  margin-top: 30px;
}

.policy-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.policy-card p {
  margin: 0;
  font-size: 14px;
}

.policy-note {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--background);
  color: var(--text-secondary);
}

.updated-at {
  margin-top: 36px !important;
  color: var(--text-secondary);
}

.footer--page {
  margin-top: 48px;
}

@media (max-width: 480px) {
  .site-shell {
    width: min(100% - 32px, 760px);
  }

  .hero {
    padding: 64px 0;
  }

  .empty-card,
  .app-card,
  .policy-card {
    border-radius: 18px;
  }
}
