:root {
  color-scheme: light;
  --ink: #2e2921;
  --muted: #71675a;
  --paper: #fff8e8;
  --paper-strong: #fff1cf;
  --canvas: #f3ead5;
  --line: #c28a51;
  --yellow: #ffc83d;
  --coral: #ff6255;
  --blue: #73c8eb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 200, 61, .38), transparent 25rem),
    radial-gradient(circle at 90% 18%, rgba(115, 200, 235, .3), transparent 28rem),
    var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.72;
}

a { color: inherit; }

.shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 13px;
  background: var(--yellow);
  box-shadow: 0 4px 0 var(--ink);
}

.nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.nav a {
  padding: 8px 12px;
  border: 2px solid rgba(46, 41, 33, .14);
  border-radius: 999px;
  background: rgba(255, 248, 232, .76);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hero, .document, .link-card {
  border: 3px solid var(--line);
  background: var(--paper);
  box-shadow: 0 8px 0 rgba(126, 78, 35, .18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 58px);
  border-radius: 30px;
}

.hero::after {
  content: "♥";
  position: absolute;
  right: clamp(18px, 6vw, 64px);
  top: 28px;
  color: var(--coral);
  font-size: clamp(52px, 10vw, 96px);
  transform: rotate(9deg);
  opacity: .9;
}

.eyebrow {
  margin: 0 0 8px;
  color: #a66426;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1.13;
  letter-spacing: -.045em;
}

.lede {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.link-card {
  display: block;
  padding: 24px;
  border-radius: 22px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.link-card:hover { transform: translateY(-2px); box-shadow: 0 10px 0 rgba(126, 78, 35, .18); }
.link-card strong { display: block; margin-bottom: 6px; font-size: 21px; }
.link-card span { color: var(--muted); font-size: 14px; }

.document {
  padding: clamp(24px, 5vw, 54px);
  border-radius: 28px;
}

.document header {
  padding-bottom: 26px;
  border-bottom: 2px solid rgba(194, 138, 81, .3);
}

.document h1 { font-size: clamp(32px, 5vw, 48px); }
.updated { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.summary {
  margin: 24px 0 8px;
  padding: 18px 20px;
  border-left: 6px solid var(--yellow);
  border-radius: 12px;
  background: var(--paper-strong);
  font-weight: 700;
}

section { scroll-margin-top: 20px; }
.document section { margin-top: 38px; }
h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.35; letter-spacing: -.025em; }
h3 { margin: 24px 0 8px; font-size: 17px; }
p { margin: 10px 0; }
ul, ol { margin: 10px 0; padding-left: 22px; }
li + li { margin-top: 5px; }

.table-wrap { overflow-x: auto; margin: 14px 0; }
table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 13px 12px; border-bottom: 1px solid rgba(46, 41, 33, .15); text-align: left; vertical-align: top; }
th { background: var(--paper-strong); font-weight: 900; }

.contact {
  padding: 18px 20px;
  border: 2px solid var(--blue);
  border-radius: 16px;
  background: rgba(115, 200, 235, .12);
}

.contact a { font-weight: 850; }

footer {
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 680px) {
  .shell { width: min(100% - 20px, 880px); padding-top: 16px; }
  .topbar { align-items: flex-start; }
  .brand { font-size: 18px; }
  .nav a { padding: 7px 9px; }
  .cards { grid-template-columns: 1fr; }
  .hero::after { opacity: .22; }
  .document { border-radius: 22px; }
}

