* {
  box-sizing: border-box;
}

html {
  background: #faf9f6;
  color: #25231f;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #faf9f6;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.legal-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
  text-decoration: none;
}

.legal-brand img {
  width: 52px;
  height: 52px;
}

.legal-brand small,
.legal-eyebrow,
.legal-meta {
  color: #8d887f;
  font-weight: 800;
}

.legal-brand strong {
  display: block;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.legal-brand small {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  line-height: 1;
}

.legal-card {
  border: 1px solid #e7e4dd;
  border-radius: 28px;
  padding: 40px;
  background: #fffefb;
  box-shadow: 0 18px 48px rgba(37, 35, 31, 0.08);
}

.legal-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 950;
  line-height: 1.05;
}

.legal-meta {
  margin: 14px 0 0;
  font-size: 14px;
}

.legal-summary {
  margin: 28px 0 0;
  color: #4c4740;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.65;
}

.legal-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid #ece8df;
}

h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.25;
}

p,
li {
  color: #4c4740;
  font-size: 16px;
  font-weight: 560;
  line-height: 1.7;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 28px;
  color: #8d887f;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .legal-shell {
    padding: 28px 16px 48px;
  }

  .legal-card {
    border-radius: 22px;
    padding: 28px 22px;
  }

  .legal-brand {
    margin-bottom: 28px;
  }
}
