:root {
  color-scheme: light;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: #142235;
  background: #eef3f8;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
}

a { color: inherit; }

.site-shell {
  width: min(100%, 820px);
  margin: 36px auto;
  padding: clamp(24px, 6vw, 44px);
  border-top: 7px solid #ffe600;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 59, 116, .14);
}

.site-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin-bottom: 26px;
}

h1,
h2 { color: #073b74; }

h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.15;
}

.creator-credit {
  display: inline-flex;
  margin: 12px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: #073b74;
  background: #ffe600;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}

.lead {
  margin: 15px 0 28px;
  color: #526379;
  line-height: 1.75;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 0 19px;
  border-radius: 12px;
  color: #073b74;
  background: #ffe600;
  font-weight: 900;
  text-decoration: none;
}

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

.branch-link {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-radius: 14px;
  color: #fff;
  background: #073b74;
  font-weight: 900;
  text-decoration: none;
}

.branch-link small {
  color: #ffe600;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 9px;
  margin-bottom: 28px;
}

.site-nav a {
  padding: 9px 13px;
  border: 1px solid #d5dde7;
  border-radius: 9px;
  color: #073b74;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.guide-section {
  padding: 22px 0;
  border-top: 1px solid #dce3eb;
}

.guide-section h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.guide-section p,
.guide-section li {
  color: #465970;
  line-height: 1.75;
}

.guide-section ol,
.guide-section ul {
  margin: 0;
  padding-left: 22px;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.guide-table th,
.guide-table td {
  padding: 10px;
  border: 1px solid #dce3eb;
  text-align: left;
  vertical-align: top;
}

.guide-table th { background: #f5f7fa; }

.notice {
  padding: 15px 17px;
  border-left: 4px solid #ffe600;
  border-radius: 8px;
  background: #fffbea;
  color: #526379;
  line-height: 1.7;
}

.branch-link:focus-visible,
.primary-link:focus-visible,
.site-nav a:focus-visible {
  outline: 4px solid #ffe600;
  outline-offset: 3px;
}

@media (max-width: 580px) {
  body { padding: 12px; }
  .site-shell { margin: 12px auto; border-radius: 18px; }
  .branch-grid { grid-template-columns: 1fr; }
}
