:root {
  color-scheme: light;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #16181d;
  background: #f5f7fa;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  line-height: 1.65;
}

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

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: #2563eb;
}

nav,
footer div {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a,
footer a {
  color: #596171;
  font-size: 14px;
}

nav a:hover,
nav a[aria-current="page"],
footer a:hover {
  color: #1d4ed8;
}

.hero {
  padding: clamp(88px, 14vw, 160px) 0 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: #596171;
  font-size: clamp(18px, 2.5vw, 22px);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.panel,
.document-note,
.draft-notice,
.document__body {
  border: 1px solid #dfe3ea;
  border-radius: 18px;
  background: #fff;
}

.panel {
  padding: clamp(28px, 5vw, 44px);
}

.panel h2 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.panel p:last-child,
.document-note p,
.document__header p,
.document__body p {
  color: #596171;
}

.panel p:last-child,
.document-note p {
  margin-bottom: 0;
}

.document-note {
  margin-top: 20px;
  padding: 28px;
}

.document-note h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.document {
  max-width: 880px;
  padding: 88px 0 72px;
}

.document__header {
  margin-bottom: 40px;
}

.document__header h1 {
  margin-bottom: 14px;
  font-size: clamp(36px, 6vw, 56px);
}

.draft-notice {
  margin-bottom: 20px;
  padding: 18px 20px;
  color: #854d0e;
  border-color: #fde68a;
  background: #fffbeb;
}

.document__body {
  padding: clamp(28px, 6vw, 56px);
}

.document__body section + section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid #edf0f4;
}

.document__body h2 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.document__body p {
  margin-bottom: 0;
}

.document__body ul {
  margin: 0;
  padding-left: 22px;
  color: #596171;
}

.document__body li + li {
  margin-top: 8px;
}

.document__body table {
  width: 100%;
  border-spacing: 0;
  overflow: hidden;
  color: #596171;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  font-size: 14px;
}

.document__body th,
.document__body td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #edf0f4;
}

.document__body th {
  color: #303744;
  background: #f8fafc;
}

.document__body tr:last-child td {
  border-bottom: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 88px;
  padding: 30px 0 40px;
  color: #7a8290;
  border-top: 1px solid #dfe3ea;
  font-size: 14px;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 0;
  }

  nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero {
    padding-top: 72px;
  }

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

  footer {
    flex-direction: column;
  }
}
