@font-face {
  font-family: 'SodamWebSerif';
  src: url('fonts/SodamWebSerif-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'SodamWebSans';
  src: url('fonts/SodamWebSans-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'SodamWebSans';
  src: url('fonts/SodamWebSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #FAF6EE;
  --ink: #2B2723;
  --subtle: #5C554C;
  --rule: #E4DDD0;
  --stamp: #A84224;
  --olive: #4A5D46;
  --on-accent: #FFFDF9;
  --serif: 'SodamWebSerif', 'Noto Serif KR', serif;
  --sans: 'SodamWebSans', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.stamp { color: var(--stamp); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 2;
  background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px;
}
.skip:focus { top: 8px; }

.top {
  position: sticky; top: 0; z-index: 1;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  text-decoration: none; white-space: nowrap;
}
.top nav { display: flex; gap: 20px; }
.top nav a { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--subtle); padding: 6px 0; white-space: nowrap; }
.top nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 45fr 55fr;
  grid-template-areas: 'title art' 'copy art';
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero-title { grid-area: title; align-self: end; }
.hero-art { grid-area: art; justify-self: center; align-self: center; }
.hero-art img { width: 100%; max-width: 480px; object-fit: contain; }
.hero-copy { grid-area: copy; }
h1 { font-family: var(--serif); font-weight: 700; font-size: 60px; line-height: 1.2; letter-spacing: -0.01em; }
.slogan { margin-top: 12px; font-size: 22px; font-weight: 600; color: var(--olive); }
.lead { margin-top: 24px; max-width: 26em; color: var(--subtle); font-size: 18px; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  background: var(--stamp); color: var(--on-accent);
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.button:hover { background: #8F3619; }
.button-quiet { background: transparent; color: var(--stamp); box-shadow: inset 0 0 0 1.5px var(--stamp); }
.button-quiet:hover { background: rgba(168, 66, 36, .08); }

.features { padding-bottom: 72px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--rule); padding-top: 40px; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.4; }
.feature-list p, .steps p { margin-top: 8px; color: var(--subtle); font-size: 16px; }

.how { background: #F1EAE0; padding: 72px 0; }
.how h2 { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.3; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 32px; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 10px;
  font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--stamp);
}

.foot { padding: 32px 0 40px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.maker { font-weight: 600; font-size: 15px; }
.policy-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.policy-note { font-size: 14px; color: var(--subtle); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: 'title' 'art' 'copy';
    grid-template-rows: auto;
    padding-top: 40px;
    padding-bottom: 48px;
    text-align: center;
  }
  h1 { font-size: 44px; }
  .slogan { font-size: 19px; }
  .hero-art { margin-top: 24px; }
  .hero-art img { width: 72vw; min-width: 240px; max-width: 320px; }
  .lead { margin: 20px auto 0; font-size: 17px; }
  .actions { justify-content: center; margin-top: 24px; }
  .features { padding-bottom: 48px; }
  .feature-list, .steps { grid-template-columns: 1fr; gap: 28px; }
  .feature-list { padding-top: 32px; }
  .how { padding: 48px 0; }
  .how h2 { font-size: 26px; }
}
