:root {
  color-scheme: light;
  --background: #fbf7f2;
  --surface: #ffffff;
  --ink: #2f2933;
  --muted: #807782;
  --line: #e9ded6;
  --rose: #e87580;
  --mint: #55c5ad;
  --mint-soft: #e8f8f4;
  --yellow-soft: #fff4cc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% -10%, #ffe6e6 0, transparent 24rem),
    radial-gradient(circle at -8% 20%, #e9f9f4 0, transparent 26rem),
    var(--background);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.72;
  word-break: keep-all;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(233, 222, 214, .82);
  background: rgba(251, 247, 242, .86);
  backdrop-filter: blur(14px);
}

.bar, .page { width: min(960px, calc(100% - 40px)); margin: 0 auto; }

.bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: var(--mint); color: #fff; font-size: 15px; }

.nav { display: flex; align-items: center; gap: 5px; }
.nav a { padding: 7px 10px; color: var(--muted); border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }

.hero { padding: 64px 0 30px; }
.eyebrow { margin: 0 0 8px; color: var(--rose); font-size: 13px; font-weight: 900; letter-spacing: .06em; }
h1 { margin: 0; font-size: clamp(31px, 6vw, 48px); letter-spacing: -.065em; line-height: 1.18; }
.lead { max-width: 640px; margin: 16px 0 0; color: var(--muted); font-size: 16px; }

.document, .business-card, .home-card {
  margin: 24px 0 56px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(80, 58, 43, .055);
}

.document h1 { font-size: clamp(28px, 5vw, 40px); }
.document h2 { margin: 44px 0 13px; font-size: 21px; letter-spacing: -.04em; }
.document h3 { margin: 28px 0 8px; font-size: 17px; }
.document p { margin: 10px 0; }
.document ol, .document ul { padding-left: 24px; margin: 10px 0; }
.document li { margin: 5px 0; }
.document li ul { margin: 4px 0; }
.document table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.document th, .document td { padding: 12px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.document th { background: #fffaf5; font-weight: 800; }
.document td a { color: #246f61; }
.document .document-meta { margin: 10px 0 26px; color: var(--muted); font-size: 14px; }

.notice { margin: 24px 0; padding: 16px 18px; border-radius: 15px; background: var(--yellow-soft); color: #5f4d21; font-size: 14px; }

.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-card { display: block; margin: 0; padding: 26px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.home-card:hover { transform: translateY(-3px); box-shadow: 0 22px 45px rgba(80, 58, 43, .11); }
.home-card h2 { margin: 0 0 7px; font-size: 21px; }
.home-card p { margin: 0; color: var(--muted); font-size: 14px; }

.business-card { max-width: 740px; }
.business-list { display: grid; grid-template-columns: 150px 1fr; gap: 12px 22px; margin: 28px 0 0; }
.business-list dt { color: var(--muted); font-weight: 700; }
.business-list dd { margin: 0; font-weight: 700; }

.site-footer { padding: 26px 0 40px; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.footer-links { display: flex; gap: 14px; white-space: nowrap; }

@media (max-width: 640px) {
  .bar, .page { width: min(100% - 28px, 960px); }
  .bar { min-height: 60px; }
  .nav a { padding: 6px; font-size: 12px; }
  .hero { padding-top: 44px; }
  .home-grid { grid-template-columns: 1fr; }
  .business-list { grid-template-columns: 1fr; gap: 3px; }
  .business-list dd { margin-bottom: 13px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 8px; }
  .document { border-radius: 18px; }
  .document table { display: block; overflow-x: auto; white-space: normal; }
}
