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

:root {
  --bg: #f0f1f5;
  --card: #ffffff;
  --soft: #f8f8fb;
  --text: #1a1a1a;
  --muted: #666666;
  --line: #e7e8ee;
  --accent: #7b5cf0;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

.page-wrapper {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
}

.highlight {
  color: var(--accent);
}

.main-header {
  padding: 56px 24px 28px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(123, 92, 240, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.main-title {
  font-size: 31px;
  font-weight: 900;
  line-height: 1.34;
  letter-spacing: -1px;
}

.main-subtitle {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.menu-list {
  padding: 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-card {
  background: var(--card);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.menu-card:hover,
.menu-card:focus {
  transform: scale(1.01);
  outline: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.menu-card-left {
  flex: 1;
}

.menu-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}

.arrow {
  font-weight: 400;
  color: #909090;
  margin-left: 3px;
}

.menu-card-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.48;
}

.menu-card-icon {
  font-size: 44px;
  line-height: 1;
  flex-shrink: 0;
}

.policy-strip {
  margin: 0 20px 18px;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow);
}

.policy-strip-text {
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
}

.policy-links a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.main-footer {
  padding: 0 20px 36px;
}

.footer-service {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.detail-header {
  padding: 50px 24px 30px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.detail-header-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.8px;
  text-align: center;
}

.content-frame {
  background: #ffffff;
  border-radius: 32px 32px 0 0;
  margin: 0 12px;
  padding: 28px 20px 48px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

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

.section-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.desc-box {
  background: var(--soft);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  padding: 18px 16px;
  margin-bottom: 16px;
}

.desc-box-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.desc-box-text {
  font-size: 14px;
  color: #333;
  line-height: 1.72;
}

.desc-box-text strong {
  color: var(--text);
}

.stat-text {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  line-height: 1.42;
  letter-spacing: -0.5px;
  margin: 22px 0 18px;
}

.info-box {
  background: var(--soft);
  border-radius: 12px;
  padding: 18px 16px;
}

.info-box + .info-box {
  margin-top: 16px;
}

.info-box-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.info-row + .info-row {
  margin-top: 14px;
}

.info-row-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.info-row-sub {
  font-size: 14px;
  color: #444;
  line-height: 1.58;
}

.action-panel {
  margin-top: 28px;
}

.cta-btn,
.outline-btn {
  width: 100%;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Noto Sans KR", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  letter-spacing: -0.3px;
}

.cta-btn {
  background: var(--accent);
  color: #fff;
  margin-bottom: 10px;
}

.outline-btn {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  color: var(--text);
}

.action-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.topbar {
  max-width: 430px;
  margin: 0 auto;
  padding: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-badge {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.brand-name {
  font-size: 15px;
  font-weight: 900;
}

.topnav {
  display: flex;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.topnav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.page-layout {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.page-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
}

.page-card + .page-card {
  margin-top: 16px;
}

.page-card h1 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 14px;
}

.page-card h2 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 10px;
}

.page-card p,
.page-card li {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.page-card ul {
  padding-left: 18px;
}

.page-card a {
  color: var(--accent);
  font-weight: 700;
}

.source-list {
  display: grid;
  gap: 14px;
}

.source-item {
  background: var(--soft);
  border-radius: 14px;
  padding: 16px;
}

.source-item h2 {
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .page-wrapper,
  .topbar,
  .page-layout {
    max-width: 480px;
  }

  .main-title {
    font-size: 34px;
  }

  .detail-header-title {
    font-size: 30px;
  }
}
