:root {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #faf9f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #1a5fb4;
}

.blog-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.blog-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0ddd8;
}

.blog-header h1 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}

.blog-header p {
  margin: 0;
  color: #5c5c5c;
  font-size: 0.95rem;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-card a {
  text-decoration: none;
  color: inherit;
}

.post-card h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.post-card .meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 6px;
}

.post-card .excerpt {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
}

.post-article h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  line-height: 1.25;
}

.post-article .meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.post-article h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.post-article p {
  margin: 0 0 14px;
}

.post-article a {
  font-weight: 500;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.cta-box {
  margin-top: 32px;
  padding: 20px;
  border-radius: 12px;
  background: #eef4ff;
  border: 1px solid #c8daf8;
}

.cta-box a {
  font-weight: 600;
}

.blog-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e0ddd8;
}

.blog-footer-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  text-align: center;
}

.blog-footer-lead {
  margin: 0 0 24px;
  text-align: center;
  color: #5c5c5c;
  font-size: 0.95rem;
}

.blog-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.blog-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0ddd8;
  border-radius: 12px;
}

.blog-footer-item--link-only {
  justify-content: center;
  min-height: 152px;
}

.blog-footer-qr {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #fff;
}

.blog-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 10px;
  transition: opacity 0.15s, transform 0.15s;
  min-width: 0;
  width: 100%;
  max-width: 220px;
  justify-content: center;
}

.blog-footer-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.blog-footer-badge--apple,
.blog-footer-badge--google {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.blog-footer-badge--web {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #d0d0d0;
}

.blog-footer-store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.blog-footer-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.blog-footer-badge-text small {
  font-size: 0.62rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.blog-footer-badge-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.blog-footer-meta {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

.blog-footer-meta a {
  color: #5c5c5c;
  text-decoration: none;
}

.blog-footer-meta a:hover {
  color: #1a5fb4;
}
