:root {
  color-scheme: light;
  --ink: #101b24;
  --muted: #536472;
  --line: #d8e4ec;
  --blue: #078fd4;
  --blue-dark: #04679d;
  --sky: #e9f7ff;
  --surface: #f5f9fc;
  --white: #fff;
  font-family: Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
  color: #063d5e;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  border-bottom: 1px solid #20323e;
  background: #071117;
  color: #fff;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 126px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 5px 0;
  color: #c8dce8;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: #38bdf8;
  outline: 0;
}

.page-shell { padding: 68px 0 72px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 52px;
  align-items: center;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--blue-dark);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(3, 126, 188, .18);
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--blue-dark);
  outline: 3px solid rgba(56, 189, 248, .32);
  outline-offset: 2px;
}

.summary-card {
  padding: 26px;
  border: 1px solid #b8d7e9;
  border-radius: 14px;
  background: linear-gradient(145deg, #f8fdff, var(--sky));
  box-shadow: 0 18px 45px rgba(29, 73, 99, .11);
}

.summary-card h2 {
  margin-bottom: 14px;
  font-size: 19px;
  line-height: 1.35;
}

.format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.format-list li {
  padding: 5px 10px;
  border: 1px solid #bad9ea;
  border-radius: 999px;
  background: #fff;
  color: #17465f;
  font-size: 14px;
  font-weight: 700;
}

.content-section { padding: 58px 0 0; }

.content-section > h2 {
  margin-bottom: 12px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 26px;
  color: var(--muted);
}

.feature-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.related-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.feature-card h3,
.related-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.4;
}

.feature-card p,
.related-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.related-card {
  display: block;
  background: #fff;
  text-decoration: none;
}

.related-card:hover,
.related-card:focus-visible {
  border-color: #71b9df;
  box-shadow: 0 10px 28px rgba(29, 73, 99, .1);
  outline: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 17px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #071117;
  color: #c8dce8;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-inner p { margin: 0; }

.footer-inner a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible { text-decoration: underline; }

@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; gap: 12px; }
  .site-nav { justify-content: flex-start; }
  .page-shell { padding-top: 48px; }
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid,
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .header-inner,
  .page-shell,
  .footer-inner { width: min(100% - 28px, 1120px); }
  .site-nav { gap: 4px 13px; }
  .page-shell { padding-bottom: 54px; }
  .hero { padding-bottom: 48px; }
  h1 { font-size: 36px; }
  .lead { font-size: 17px; }
  .summary-card,
  .feature-card,
  .related-card { padding: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}
