:root {
  --blue: #1f67c8;
  --blue-dark: #174a8b;
  --blue-soft: #f3f8ff;
  --line: #e3eaf3;
  --text: #1c2430;
  --muted: #687386;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f7f9fc;
  color: var(--text);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

.site {
  width: 680px;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--white);
}

.header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 32px 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong {
  display: block;
}

.brand strong {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.nav {
  position: relative;
  flex: 0 0 auto;
}

.menu-toggle {
  min-width: 72px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue-dark);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}

.menu-toggle::after {
  margin-left: 7px;
  color: var(--blue);
  content: "▾";
}

.menu-list {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 10;
  display: grid;
  width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(24, 40, 64, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.menu:hover .menu-list,
.menu:focus-within .menu-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav a {
  display: block;
  padding: 9px 10px;
  border-radius: 5px;
  color: #526276;
  font-size: 15px;
  font-weight: 700;
}

.nav a.active,
.nav a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

main {
  padding: 34px 32px 44px;
}

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

h1 {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.lead {
  max-width: 560px;
  color: #49566b;
  font-size: 16px;
}

.hero {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hero .lead {
  margin-bottom: 0;
}

.hero-actions {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-dark);
  font-weight: 800;
}

.summary-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.summary-card {
  display: grid;
  grid-template-columns: 42px 116px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.summary-card h2,
.summary-card p {
  margin-bottom: 0;
}

.summary-card h2 {
  color: var(--blue-dark);
  font-size: 16px;
}

.summary-card p {
  color: var(--muted);
  font-size: 14px;
}

.summary-card a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.number {
  color: #9aa9bb;
  font-size: 13px;
  font-weight: 900;
}

.notice,
.content-panel,
.method-list article,
.doc-row {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.notice {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--blue-soft);
}

.notice p:last-child,
.content-panel p:last-child,
.method-list p:last-child,
.summary-card p:last-child {
  margin-bottom: 0;
}

.page h1 {
  margin-bottom: 10px;
}

.content-panel {
  margin-top: 18px;
  padding: 20px;
}

.check-list {
  margin: 0;
  padding-left: 18px;
}

.check-list li {
  margin-bottom: 8px;
}

.check-list li::marker {
  color: var(--blue);
}

.method-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.method-list article {
  padding: 18px 20px;
}

.muted {
  color: var(--muted);
}

.process {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.step span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.step h2,
.step p {
  margin-bottom: 4px;
}

.doc-table {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.doc-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  padding: 14px 16px;
}

.doc-row strong {
  color: var(--blue-dark);
}

.doc-row p {
  margin-bottom: 0;
  color: #46566c;
}

.footer {
  padding: 18px 32px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.page-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.page-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 800;
}

.page-links a:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.footer p {
  margin: 0 0 4px;
}

.footer-divider {
  height: 1px;
  margin: 14px 0 12px;
  background: var(--line);
}

@media (max-width: 520px) {
  .header,
  main,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 24px;
  }

  .brand strong {
    font-size: 19px;
  }

  .menu-list {
    width: 168px;
  }

  .summary-card,
  .doc-row,
  .page-links {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .summary-card {
    padding: 16px;
  }
}
