:root {
  --cream: #f7f8f5;
  --white: #fff;
  --ink: #18202b;
  --muted: #66707c;
  --blue: #2457e7;
  --line: #dbe0e6;
  --pale: #e9f0ff;
  --shell: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Pretendard Variable", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 800;
}
.skip-link:focus {
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.055em;
  line-height: 1.18;
}
h2 {
  font-size: clamp(31px, 4vw, 52px);
  margin-bottom: 14px;
}
.site-header {
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(9px);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 35px;
}
.brand {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.brand span {
  color: var(--blue);
}
nav {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-left: auto;
}
nav a {
  font-size: 14px;
  font-weight: 700;
}
nav a:hover,
.text-link:hover {
  color: var(--blue);
}
.nav-cta {
  padding: 9px 0;
  border-bottom: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.menu-toggle {
  display: none;
}
.hero {
  min-height: 602px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 40px;
  padding: 60px 0 70px;
}
.hero h1 {
  margin-bottom: 23px;
  font-size: clamp(47px, 5.2vw, 78px);
}
.hero-description {
  max-width: 505px;
  color: var(--muted);
  font-size: 17px;
  word-break: keep-all;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
}
.button {
  border: 1px solid transparent;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 800;
}
.button-primary {
  color: white;
  background: var(--blue);
}
.button-primary:hover {
  background: #1747cb;
}
.button-secondary {
  border-color: var(--ink);
  background: transparent;
}
.text-link {
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-weight: 800;
  font-size: 14px;
}
.hero-art {
  min-height: 395px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--cream);
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid #cdd8ed;
  border-radius: 50%;
}
.hero-art:before {
  top: -105px;
  right: -45px;
}
.hero-art:after {
  bottom: -130px;
  left: -90px;
}
.hero-art img {
  width: min(100%, 510px);
  position: relative;
  z-index: 1;
  object-fit: contain;
}
.art-fallback {
  display: none;
  width: 250px;
  height: 210px;
  position: relative;
  z-index: 1;
  place-items: center;
  color: var(--blue);
  font-size: 28px;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.07em;
}
.art-fallback i {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 2px solid var(--blue);
  transform: rotate(45deg);
}
.art-fallback i:nth-child(1) {
  top: 10px;
  left: 10px;
}
.art-fallback i:nth-child(2) {
  right: 15px;
  bottom: 5px;
}
.art-fallback i:nth-child(3) {
  top: 40px;
  right: 45px;
  width: 36px;
  height: 36px;
}
.image-missing .art-fallback {
  display: grid;
}
.image-missing img {
  display: none;
}
.service-overview,
.guide-section,
.faq-section {
  background: var(--cream);
}
.service-overview {
  padding: 106px 0;
}
.section-heading {
  max-width: 650px;
}
.section-heading > p:last-child {
  color: var(--muted);
  word-break: keep-all;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  margin-top: 47px;
}
.service-item {
  min-height: 252px;
  padding: 23px 18px 20px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-item:not(:first-child) {
  padding-left: 20px;
}
.service-item:last-child {
  border-right: 0;
}
.service-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.service-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 18px;
}
.service-item h3 {
  font-size: 21px;
  margin: 0 0 6px;
}
.service-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  word-break: keep-all;
}
.service-item button {
  width: max-content;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 3px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}
.directory {
  padding: 112px 0 125px;
}
.directory-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.directory-top > p {
  max-width: 278px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  word-break: keep-all;
}
.directory-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 47px 0 19px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filter {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 700;
}
.filter[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.search-field {
  width: 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding: 5px 0;
  margin-left: auto;
}
.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}
.results-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.results-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.reset-button {
  border: 0;
  padding: 0;
  background: transparent;
  text-decoration: underline;
  font-size: 13px;
}
.partner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.partner-card {
  min-height: 243px;
  padding: 25px 24px 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.partner-card:nth-child(3n + 2),
.partner-card:nth-child(3n + 3) {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}
.partner-card h3 {
  margin: 12px 0 6px;
  font-size: 22px;
}
.partner-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: auto;
  word-break: keep-all;
}
.partner-card .tag {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.placeholder-note {
  margin-top: 23px;
  color: #7b8592;
  font-size: 12px;
}
.empty-state {
  padding: 70px 0;
  border-top: 1px solid var(--ink);
  text-align: center;
}
.empty-state h3 {
  font-size: 27px;
}
.empty-state p {
  color: var(--muted);
}
.empty-state .button {
  margin-top: 12px;
}
.guide-section {
  padding: 110px 0;
}
.guide-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}
.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}
.guide-steps li {
  display: flex;
  gap: 28px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.guide-steps span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.guide-steps h3 {
  margin: 0 0 5px;
  font-size: 20px;
}
.guide-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  word-break: keep-all;
}
.network {
  padding: 112px 0;
}
.network-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 45px;
}
.network-item {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.network-item:first-child {
  padding-left: 0;
  border-left: 0;
}
.network-item b {
  display: block;
  margin-bottom: 11px;
  color: var(--blue);
  font-size: 12px;
}
.network-item h3 {
  font-size: 20px;
  margin: 0 0 5px;
}
.network-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  word-break: keep-all;
}
.faq-section {
  padding: 104px 0;
}
.faq-list {
  border-top: 1px solid var(--ink);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.faq-list summary {
  list-style: none;
  position: relative;
  padding-right: 30px;
  font-weight: 800;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
  top: -5px;
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list details p {
  max-width: 620px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  word-break: keep-all;
}
footer {
  padding: 45px 0;
  background: var(--ink);
  color: white;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.footer-wrap p {
  margin: 3px 0;
  color: #d1d9e6;
  font-size: 14px;
}
.footer-wrap small {
  grid-column: 1/-1;
  margin-top: 30px;
  color: #9ba5b3;
}
dialog {
  width: min(calc(100% - 40px), 490px);
  padding: 0;
  border: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(24, 32, 43, 0.48);
}
.dialog-inner {
  position: relative;
  padding: 42px;
}
.dialog-close:not(.button) {
  position: absolute;
  top: 13px;
  right: 15px;
  border: 0;
  background: transparent;
  font-size: 25px;
}
.dialog-inner h2 {
  margin-bottom: 10px;
  font-size: 31px;
}
.dialog-inner > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}
.dialog-inner ul {
  padding-left: 19px;
  margin: 25px 0 30px;
}
.dialog-inner li {
  margin: 8px 0;
  font-size: 14px;
}
.dialog-inner .button {
  position: static;
  width: 100%;
  font-size: 14px;
}
@media (max-width: 800px) {
  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }
  .nav-wrap {
    gap: 14px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 44px;
    min-height: 44px;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    flex-wrap: wrap;
    border: 0;
    background: transparent;
    padding: 4px 0;
  }
  .menu-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--ink);
  }
  .menu-toggle b {
    display: none;
  }
  nav {
    display: none;
    position: absolute;
    left: 0;
    top: 71px;
    width: 100%;
    padding: 20px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.04);
  }
  nav.is-open {
    display: grid;
    gap: 17px;
  }
  .nav-cta {
    margin-left: auto;
    font-size: 12px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 66px 0 54px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-art {
    min-height: 310px;
  }
  .service-overview,
  .directory,
  .guide-section,
  .network,
  .faq-section {
    padding: 75px 0;
  }
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-item {
    min-height: 205px;
    padding: 18px 16px 18px 0;
  }
  .service-item:not(:first-child) {
    padding-left: 16px;
  }
  .service-item:nth-child(2n) {
    border-right: 0;
  }
  .service-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .directory-top {
    display: block;
  }
  .directory-controls {
    display: block;
    margin-top: 33px;
  }
  .category-tabs {
    margin-bottom: 16px;
  }
  .search-field {
    width: 100%;
  }
  .partner-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-card:nth-child(3n + 2),
  .partner-card:nth-child(3n + 3) {
    padding-left: 0;
    border-left: 0;
  }
  .partner-card:nth-child(2n) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }
  .guide-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .network-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 0;
  }
  .network-item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 480px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }
  .brand {
    font-size: 19px;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    padding-top: 54px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }
  .hero-art {
    min-height: 270px;
  }
  .service-list,
  .partner-list {
    grid-template-columns: 1fr;
  }
  .service-item,
  .service-item:not(:first-child) {
    padding: 18px 0;
    border-right: 0;
    border-left: 0;
  }
  .service-item:not(:first-child) {
    border-top: 1px solid var(--line);
  }
  .partner-card,
  .partner-card:nth-child(3n + 2),
  .partner-card:nth-child(3n + 3),
  .partner-card:nth-child(2n) {
    min-height: 205px;
    padding: 22px 0;
    border-left: 0;
  }
  .directory-top h2 {
    font-size: 35px;
  }
  .network-list {
    grid-template-columns: 1fr;
  }
  .network-item,
  .network-item:nth-child(odd) {
    padding: 0 0 20px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .dialog-inner {
    padding: 36px 26px 26px;
  }
}
.partner-link {
  width: max-content;
  margin-top: 23px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 800;
}
.partner-link:hover {
  color: var(--blue);
}

/* 후반 오버라이드는 이미지 비율, 키보드 접근성, 작은 화면의 정보 밀도를 보완한다. */
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}
.filter[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.filter {
  min-height: 44px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .service-item {
    min-height: 150px;
  }
}
@media (max-width: 480px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-item,
  .service-item:not(:first-child) {
    min-height: 145px;
    padding: 15px 12px 15px 0;
    border-top: 1px solid var(--line);
  }
  .service-item:not(:first-child) {
    padding-left: 12px;
  }
  .service-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .service-item:nth-child(-n + 2) {
    border-top: 0;
  }
  .service-item h3 {
    font-size: 18px;
  }
  .service-item p {
    display: none;
  }
}
