:root {
  --navy: #001e61;
  --navy-deep: #00143f;
  --ink: #16202f;
  --muted: #5a6575;
  --line: #dde1e7;
  --paper: #f4f5f7;
  --white: #fff;
  --wrap: 1200px;
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 62px; }
.brand span { color: var(--navy); font-weight: 700; font-size: 16px; letter-spacing: .02em; white-space: nowrap; }
.nav ul { display: flex; gap: 48px; }
.nav a { display: block; padding: 25px 0 23px; border-bottom: 3px solid transparent; font-weight: 600; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.menu-btn { display: none; }

/* Shared blocks */
.section { padding: 88px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2, .h2 { font-size: 32px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.h2 { margin-bottom: 28px; }
.more { color: var(--navy); font-weight: 600; white-space: nowrap; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn { display: inline-block; padding: 12px 24px; background: var(--navy); color: var(--white); font-weight: 600; font-size: 16px; white-space: nowrap; }
.btn:hover { background: var(--navy-deep); }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn.ghost:hover { background: var(--white); }

/* Home */
.hero img { width: 100%; }
.band { background: var(--navy); color: var(--white); padding: 44px 0; }
.band h1 { font-size: 34px; line-height: 1.35; font-weight: 700; }
.band h1 br { display: none; }
.band p { margin-top: 6px; opacity: .85; }

.strengths { padding: 56px 0; border-bottom: 1px solid var(--line); }
.strengths ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.strengths h3 { color: var(--navy); font-size: 20px; }
.strengths p { margin-top: 6px; color: var(--muted); font-size: 16px; }

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-grid a { display: block; }
.cat-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cat-grid h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.cat-grid a:hover h3 { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

.cta { background: var(--paper); padding: 48px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta p { font-size: 22px; font-weight: 600; }
.cta .actions { display: flex; gap: 12px; }

/* Sub pages */
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: 44px; line-height: 1.25; font-weight: 700; color: var(--navy); }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }

.about-lead { font-size: 40px; line-height: 1.35; font-weight: 700; color: var(--navy); }
.about-body { max-width: 760px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--muted); }
.about-body p + p { margin-top: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); counter-reset: step; }
.steps li { padding: 24px 24px 8px 0; counter-increment: step; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.facts { border-top: 2px solid var(--navy); }
.facts div { display: grid; grid-template-columns: 160px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--muted); }
.facts a:hover { color: var(--navy); text-decoration: underline; }
.facts + .btn { margin-top: 24px; }

/* Products */
.subnav { position: sticky; top: 77px; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 40px; overflow-x: auto; }
.subnav a { display: block; padding: 14px 0; font-weight: 600; color: var(--muted); white-space: nowrap; }
.subnav a:hover { color: var(--navy); }
.category { padding: 64px 0; }
.category + .category { border-top: 1px solid var(--line); }
.cat-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 40px; }
.cat-head img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-head h2 { font-size: 32px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.cat-head p { margin-top: 16px; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gallery figure { border: 1px solid var(--line); background: #fefefe; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { padding: 8px 12px; border-top: 1px solid var(--line); background: var(--white); font-size: 14px; line-height: 1.5; }

/* Resources */
.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.board th, .board td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.board th { font-size: 15px; font-weight: 600; color: var(--muted); }
.board .num { width: 72px; text-align: center; }
.board .type { width: 140px; color: var(--muted); }
.board .file { width: 100px; text-align: center; color: var(--muted); }
.note { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--white); padding: 56px 0; font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.foot-brand img { width: 88px; margin-bottom: 16px; }
.foot-brand strong { display: block; font-size: 20px; font-weight: 700; }
.foot-brand span { opacity: .75; }
.foot-info div { display: grid; grid-template-columns: 72px 1fr; padding: 3px 0; }
.foot-info dt { opacity: .65; }
.foot-info a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .cat-grid li { grid-column: span 2; }
  .cat-grid li:nth-last-child(-n+2) { grid-column: span 3; }
  .strengths ul { grid-template-columns: 1fr; gap: 20px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cat-head { gap: 40px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 124px; }
  .site-header .wrap { height: 64px; }
  .brand img { width: 52px; }
  .brand span { font-size: 15px; }
  .menu-btn { display: block; width: 44px; height: 44px; margin-right: -8px; padding: 0; background: none; border: 0; color: var(--navy); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 65px; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { display: block; padding: 0 var(--gutter); }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a, .nav a[aria-current="page"] { padding: 14px 0; border-bottom: 0; }
  .band { padding: 32px 0; }
  .band h1 { font-size: 26px; }
  .band h1 br { display: inline; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head h2, .h2 { font-size: 26px; }
  .strengths { padding: 40px 0; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .cat-grid li, .cat-grid li:nth-last-child(2) { grid-column: auto; }
  .cat-grid li:last-child { grid-column: 1 / -1; }
  .cat-grid li:last-child img { aspect-ratio: 16 / 10; }
  .cat-grid h3 { margin-top: 10px; font-size: 16px; }
  .cta .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta p { font-size: 19px; }
  .page-head { padding: 44px 0 24px; }
  .page-head h1 { font-size: 34px; }
  .about-lead { font-size: 28px; }
  .about-body { margin-top: 24px; padding-top: 24px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts div { grid-template-columns: 84px 1fr; }
  .subnav { top: 65px; }
  .subnav ul { gap: 24px; }
  .category { padding: 40px 0; }
  .cat-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
  .cat-head h2 { font-size: 26px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery figcaption { padding: 6px 8px; font-size: 13px; }
  .board .type { display: none; }
  .board .num { width: 44px; }
  .board .file { width: 64px; }
  .board th, .board td { padding: 14px 6px; }
}
