:root {
  --ink: #291F2E;
  --cream: #FFF5DB;
  --paper: #FFFCF0;
  --line: #402E42;
  --white: #FFFFFF;
  --pink: #FF6BA6;
  --peach: #FF8C7A;
  --mint: #73DBA3;
  --sky: #57A8FA;
  --lemon: #FFD647;
  --violet: #8A6BF0;
  --shadow: rgba(59, 46, 56, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}

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

.page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 22px 18px 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

.logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--lemon);
  box-shadow: 3px 3px 0 var(--shadow);
}

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

.nav-link,
.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 2px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--shadow);
}

.hero {
  padding: 28px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 150px;
  height: 150px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, var(--lemon), var(--lemon) 12px, var(--mint) 12px, var(--mint) 24px);
  opacity: 0.42;
  transform: rotate(12deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--mint);
  font-size: 12px;
  font-weight: 950;
}

h1 {
  margin: 14px 0 8px;
  font-size: clamp(34px, 8vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

p { margin: 0 0 12px; }

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(41, 31, 46, 0.72);
  font-size: 16px;
  font-weight: 750;
}

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

.card,
.section {
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--shadow);
}

.card strong,
.section strong { font-weight: 950; }

.card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--lemon);
  margin-bottom: 12px;
  font-size: 22px;
}

.section {
  margin-top: 14px;
}

.section:nth-of-type(3n) { background: var(--white); }
.section:nth-of-type(3n + 1) { background: #fff8e8; }
.section:nth-of-type(3n + 2) { background: #f5fff8; }

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

li { margin: 7px 0; }

.notice {
  margin-top: 18px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 214, 71, 0.38);
  font-weight: 850;
}

.meta {
  color: rgba(41, 31, 46, 0.64);
  font-size: 13px;
  font-weight: 800;
}

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 2px solid rgba(64, 46, 66, 0.18);
  color: rgba(41, 31, 46, 0.64);
  font-size: 13px;
  font-weight: 800;
}

.stack { display: grid; gap: 14px; margin-top: 18px; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  padding: 6px 9px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 12px;
  font-weight: 950;
}

@media (max-width: 720px) {
  .page { padding: 16px 14px 42px; }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .hero { padding: 20px; }
  .grid { grid-template-columns: 1fr; }
}
