:root {
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: #eef3f8;
  --blue: #2f7df6;
  --blue-dark: #1664d9;
  --line: #e5e9f0;
  --muted: #7b8493;
  --warning: #fff7ed;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(47, 125, 246, 0.16), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #e9eef5 100%);
}

.wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.page {
  width: min(100%, 420px);
  min-height: min(820px, calc(100vh - 56px));
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 38px;
  background: #f6f8fb;
  box-shadow: 0 28px 70px rgba(31, 41, 55, 0.2), 0 0 0 1px rgba(148, 163, 184, 0.26);
}

.header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 58px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #4b5563;
  text-decoration: none;
}

.header strong {
  overflow: hidden;
  font-size: 0.94rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.content {
  padding: 18px 18px 26px;
}

.hero {
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(145deg, #eff6ff, #dfeeff);
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px rgba(40, 101, 200, 0.12);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

h1 {
  margin: 0;
  color: #111827;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.card,
.ad-box,
.notice {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.notice {
  border-color: #fed7aa;
  background: var(--warning);
}

.list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 18px;
  color: #4b5563;
  font-size: 0.84rem;
  line-height: 1.55;
}

.list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.cta-panel {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #fff;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(47, 125, 246, 0.24);
}

.ad-box {
  min-height: 92px;
  border-style: dashed;
  background: #fbfdff;
  overflow: hidden;
}

.related {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.related a {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.footer {
  margin-top: 18px;
  color: #8a93a3;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 520px) {
  .wrap {
    display: block;
    padding: 0;
  }

  .page {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
