:root {
  color-scheme: light;
  --ink: #272320;
  --muted: #6f6760;
  --paper: #fff8ef;
  --panel: #ffffff;
  --line: rgba(39, 35, 32, 0.14);
  --yellow: #ffd166;
  --pink: #ff8fa3;
  --green: #b8e986;
  --red: #ff5a5f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

header {
  padding: 22px 0;
}

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

.brand {
  font-weight: 900;
  font-size: 20px;
  text-decoration: none;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}

.links a {
  text-decoration: none;
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  padding: 48px 0 72px;
}

.hero-panel {
  max-width: 720px;
}

.hero-logo {
  width: min(210px, 54vw);
  height: auto;
  display: block;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 11vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  margin: 28px 0 0;
  font-size: clamp(20px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.disabled {
  opacity: 0.54;
  pointer-events: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.card strong {
  display: block;
  margin-bottom: 6px;
}

main.document {
  padding: 34px 0 72px;
}

.doc {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 42px);
}

.doc h1 {
  font-size: clamp(34px, 7vw, 62px);
  line-height: 1;
}

.doc h2 {
  margin-top: 30px;
  font-size: 22px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc ul {
  padding-left: 22px;
}

footer {
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
