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

body {
  background: #333;
  font-family:
    -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", sans-serif;
  color: #111;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.app {
  position: relative;
  width: 100%;
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  background: #f6f7f8;
}

.home-page {
  padding: 38px 24px 96px;
}

.home-header {
  padding-bottom: 28px;
  border-bottom: 1px solid #d9d9d9;
}

.home-header h1 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.home-header p {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: #777;
  letter-spacing: -0.04em;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 28px;
}

.news-item h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.news-summary {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #777;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.news-summary span {
  color: #ff4b12;
  font-weight: 500;
  white-space: nowrap;
}

.news-card {
  display: block;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.news-card > img {
  height: 165px;
  object-fit: cover;
}

.card-body {
  padding: 15px 14px 16px;
}

.card-body h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.05em;
}

.card-body p {
  margin-top: 9px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: #777;
  letter-spacing: -0.04em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff1ec;
  color: #ff4b12;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  transform: translateX(-50%);
  width: 100%;
  max-width: 375px;
  height: 64px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border-top: 1px solid #e5e5e5;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 33.333%;
  font-size: 10px;
  font-weight: 500;
  color: #9b9b9b;
}

.nav-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.55;
}

.nav-item.active {
  color: #333;
}

.nav-item.active img {
  opacity: 1;
}

@media (min-width: 768px) {
  .page {
    border-radius: 0;
  }
}

@media (max-width: 374px) {
  .onboarding-content {
    padding-top: 44px;
    padding-bottom: 24px;
  }

  .onboarding-button-group {
    gap: 14px;
  }
}
