/* A restrained visual layer for the public website. */
:is(.site-header, #main, #service-view, .site-footer) {
  --muted: #637787;
  --line: #dfe8ee;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
}

/* Brand and navigation */
.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: #e5edf3;
  box-shadow: 0 3px 18px rgba(20, 53, 80, .025);
}
.header-inner { gap: 28px; }
.brand { gap: 9px; }
.brand img { width: 61px; height: 61px; }
.brand strong {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.5;
  color: #193d5c;
}
.brand small {
  font-size: 8px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .28em;
  margin-top: 1px;
  color: #487aa3;
}
.navigation { font-size: 13px; font-weight: 500; gap: 26px; }
.category-navigation { gap: 23px; }
.navigation > a, .navigation .nav-top { letter-spacing: -.02em; }
.submenu-toggle { color: #5e7b91; padding: 11px 3px; }
.nav-dropdown {
  width: 207px;
  border: 1px solid #e0e9f0;
  border-top: 2px solid #357eb6;
  border-radius: 0 0 8px 8px;
  padding: 9px 7px;
  box-shadow: 0 14px 36px rgba(19, 49, 73, .10);
}
.navigation .nav-dropdown a {
  padding: 11px 12px;
  border-radius: 4px;
  color: #526f83;
  font-size: 13px;
  line-height: 1.6;
}
.navigation .nav-dropdown a:hover,
.navigation .nav-dropdown a:focus-visible { background: #f0f6fa; }
.menu-toggle { border-radius: 5px; min-width: 40px; min-height: 40px; }

/* Type and controls are scoped to public pages. */
:is(#main, #service-view) h2 {
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.45;
}
:is(#main, #service-view) h3 { font-weight: 600; letter-spacing: -.025em; }
:is(.site-header, #main, #service-view) .button {
  min-height: 54px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: -.015em;
  box-shadow: 0 4px 12px rgba(28, 86, 132, .08);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
:is(.site-header, #main, #service-view) .button:hover {
  box-shadow: 0 6px 17px rgba(28, 86, 132, .14);
}
.site-header .header-cta {
  min-height: 44px;
  padding: 12px 17px;
  font-size: 12px;
  gap: 16px;
  margin-left: 3px;
  box-shadow: none;
}
:is(#main, #service-view) .text-link { font-weight: 500; letter-spacing: -.015em; }
:is(#main, #service-view) .eyebrow { font-weight: 500; letter-spacing: .18em; }
.section-heading { margin-bottom: 46px; }
.heading-description { font-size: 14px; line-height: 1.95; }

/* Main visual */
.hero h1 {
  font-size: 66px;
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: -.055em;
}
.hero-description { font-size: 15px; line-height: 1.95; color: #4f687b; }
.hero .eyebrow { font-size: 10px; letter-spacing: .16em; }
.hero-region { color: #4b677a; font-size: 11px; }
.hero-signature {
  border-radius: 0 5px 5px 0;
  background: rgba(21, 53, 77, .91);
  backdrop-filter: blur(4px);
}
.hero-signature p { font-weight: 400; line-height: 1.7; }
.intro-strip { padding: 34px 0; }
.intro-grid strong { font-size: 14px; font-weight: 500; letter-spacing: -.02em; }
.intro-grid p > span { font-size: 12px; line-height: 1.7; }

/* Service previews */
.service-grid { gap: 27px; }
.service-card {
  background: #fff;
  border: 1px solid #e2eaf0;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 6px 21px rgba(17, 53, 79, .035);
}
.service-image { border-radius: 0; aspect-ratio: 1.42; }
.service-image img { transition: transform .45s ease; }
.service-image:hover img { transform: scale(1.025); }
.image-label { font-size: 10px; letter-spacing: .13em; bottom: 23px; }
.circle-arrow { width: 34px; height: 34px; bottom: 17px; right: 19px; }
.service-copy { padding: 26px 24px 19px; }
.service-index { right: 24px; top: 30px; color: #819caf; font-size: 11px; }
.service-copy h3 { font-size: 24px; font-weight: 600; letter-spacing: -.04em; }
.service-copy p { font-size: 13px; line-height: 1.9; color: #607687; }
.service-copy p br { display: none; }
.tags { margin-top: 20px; gap: 6px; }
.tags span {
  font-size: 10px;
  padding: 6px 9px;
  border-radius: 3px;
  background: #f2f6f9;
  color: #526f84;
}
.service-link { margin-top: 19px; padding: 18px 0 0; font-weight: 500; font-size: 12px; }
.service-note { color: #637a8b; line-height: 1.8; }
.standard-visual > img { border-radius: 7px; }
.visual-stamp { border-radius: 5px; box-shadow: 0 9px 27px rgba(20, 52, 76, .06); }
.standard-description { font-size: 14px; line-height: 1.95; }
.room-tabs button { font-size: 13px; }
.room-tabs button[aria-selected=true] { font-weight: 600; }
.room-lead { font-size: 14px; font-weight: 500; }
.room-panel li { font-size: 13px; line-height: 1.8; }
.scope-note { color: #62798c; font-size: 11px; line-height: 1.85; }
.process-section h2 { font-weight: 500; }
.process-grid h3 { font-size: 19px; font-weight: 500; }
.process-grid p { font-size: 13px; color: #b7c9d6; line-height: 1.9; }
.process-number > span { color: #a1bacb; }
.faq-intro { font-size: 14px; line-height: 1.95; }
.faq-list summary { font-size: 14px; padding: 25px 0; }
.faq-list details p { font-size: 13px; line-height: 1.95; color: #607789; }
.contact-section h2 { font-weight: 500; }
.contact-section p:not(.eyebrow) { font-size: 14px; }

/* Category and service detail pages */
.service-page-hero { background: #f4f7fa; padding-top: 27px; padding-bottom: 54px; }
.breadcrumb { color: #637c8f; font-size: 11px; margin-bottom: 33px; }
.breadcrumb [aria-current=page] { color: #405f77; }
.page-hero-grid { gap: 68px; }
.page-hero-copy h1 {
  font-weight: 600;
  letter-spacing: -.045em;
  font-size: 47px;
  line-height: 1.4;
}
.page-hero-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.95; color: #5c7386; }
.page-hero-image { border-radius: 8px; box-shadow: 0 8px 24px rgba(17, 53, 79, .06); }
.page-hero-bottom > span { font-size: 11px; color: #526f83; }
.service-page-body { padding-top: 79px; padding-bottom: 100px; }
.service-sidebar h2 { font-weight: 600; letter-spacing: -.03em; padding-bottom: 19px; }
.sidebar-label { color: #637f93; font-size: 9px; letter-spacing: .14em; }
.service-sidebar nav a {
  font-size: 13px;
  line-height: 1.7;
  padding: 14px 12px;
  color: #536f82;
  border-left: 2px solid transparent;
}
.service-sidebar nav a.active,
.service-sidebar nav a[aria-current=page] {
  background: #f1f6fa;
  border-left-color: #347cb4;
  font-weight: 500;
}
.service-sidebar nav a > span { color: #6f8da3; }
.sidebar-contact { border: 1px solid #e4ecf2; border-radius: 6px; background: #f7f9fb; }
.sidebar-contact > span { color: #657e91; font-size: 11px; }
.sidebar-contact .text-link { font-size: 11px; }
.detail-description, .category-intro { font-size: 14px; line-height: 2; color: #597287; }
.service-detail-copy > .eyebrow { font-size: 10px; }
.service-detail-copy > .detail-section:first-child h2 { font-weight: 600; }
.detail-section { margin-top: 46px; }
.detail-section h2, .detail-section h3 { font-weight: 600; }
.recommendation-list { gap: 16px; }
.recommendation-list li { font-size: 13px; line-height: 1.9; color: #536e82; }
.scope-grid { border-radius: 6px; overflow: hidden; }
.scope-grid > div { padding: 26px; background: #fff; }
.scope-grid p { font-size: 13px; line-height: 1.9; color: #526e82; }
.scope-number { font-size: 11px; font-weight: 500; }
.detail-scope-note { font-size: 11px; color: #657e91; }
.preparation-list { font-size: 13px; line-height: 1.95; border-radius: 6px; background: #f4f7fa; }
.detail-cta { border-radius: 7px; background: #f2f7fb; border-color: #dce9f2; padding: 29px; }
.detail-cta p { font-size: 12px; color: #5f788d; line-height: 1.85; }
.category-service-list { border-top-color: #6c8598; }
.category-service-item { padding: 28px 6px; transition: background .18s ease; }
.category-service-item:hover { padding: 28px 6px; background: #f5f8fb; }
.category-service-item h3 { font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.category-service-item p { font-size: 13px; line-height: 1.9; color: #5e778b; }
.item-index { color: #6c879b; }
.information-section h1 { font-weight: 600; letter-spacing: -.045em; }
.information-lead { color: #5d7587; line-height: 1.95; }
.about-feature-grid p { font-size: 14px; line-height: 1.95; color: #5d7587; }
.company-contact { border-radius: 6px; background: #fbfcfd; }

/* Footer */
.footer-top .brand strong { font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.footer-top .brand small { font-size: 8px; }
.footer-top > p { color: #60798d; font-size: 12px; }
.footer-business { font-size: 12px; line-height: 1.8; }
.footer-business a { font-weight: 500; }
.footer-bottom { font-size: 11px; color: #617b8e; line-height: 1.8; }
.back-top span { border-radius: 4px; }

@media (min-width: 1600px) {
  .hero h1 { font-size: 76px; }
}

@media (max-width: 1150px) {
  .header-inner { gap: 20px; }
  .brand { gap: 6px; }
  .brand img { width: 55px; height: 55px; }
  .brand strong { font-size: 19px; letter-spacing: .005em; }
  .navigation { gap: 19px; font-size: 12px; }
  .category-navigation { gap: 17px; }
  .site-header .header-cta { padding: 12px 14px; gap: 12px; }
  .hero h1 { font-size: 59px; }
  .service-copy { padding: 23px 19px 19px; }
  .service-index { right: 19px; top: 27px; }
  .service-copy h3 { font-size: 22px; }
  .service-copy p { font-size: 12px; }
  .page-hero-grid { gap: 44px; }
  .page-hero-copy h1 { font-size: 41px; }
  .scope-grid > div { padding: 22px; }
}

@media (max-width: 900px) {
  .brand img { width: 55px; height: 55px; }
  .brand strong { font-size: 19px; }
  .site-header .header-cta { min-height: 41px; font-size: 11px; margin-left: auto; }
  .navigation { gap: 0; padding: 14px 28px 20px; font-size: 14px; }
  .category-navigation { gap: 0; }
  .navigation > a, .navigation .nav-parent a { font-size: 14px; }
  .nav-dropdown {
    width: 100%;
    padding: 6px 8px;
    border: 0;
    border-left: 2px solid #87b2d4;
    border-radius: 0 5px 5px 0;
    box-shadow: none;
    background: #f4f8fb;
    margin-bottom: 12px;
  }
  .navigation .nav-dropdown a { padding: 10px 12px; font-size: 13px; }
  .hero h1 { font-size: 54px; }
  .hero-description { font-size: 14px; }
  .intro-grid p > span { font-size: 11px; }
  .service-grid { gap: 18px; }
  .service-copy { padding: 20px 15px 18px; }
  .service-copy h3 { font-size: 20px; }
  .service-index { right: 15px; top: 23px; }
  .service-copy p { font-size: 12px; }
  .tags span { font-size: 9px; padding: 5px 7px; }
  .service-link { font-size: 11px; }
  .image-label { font-size: 9px; left: 15px; bottom: 19px; }
  .circle-arrow { width: 30px; height: 30px; right: 13px; bottom: 13px; }
  .standard-description { font-size: 12px; }
  .room-tabs button { font-size: 11px; }
  .room-lead, .room-panel li { font-size: 12px; }
  .process-grid h3 { font-size: 17px; }
  .process-grid p { font-size: 12px; }
  .faq-intro { font-size: 12px; }
  .faq-list summary { font-size: 13px; }
  .faq-list details p { font-size: 12px; }
  .page-hero-copy h1 { font-size: 36px; }
  .page-hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .page-hero-grid { gap: 28px; }
  .service-sidebar nav a { font-size: 12px; padding: 13px 8px; }
  .detail-description, .category-intro { font-size: 13px; }
  .scope-grid > div { padding: 19px; }
  .scope-grid p { font-size: 12px; }
  .about-feature-grid p { font-size: 13px; }
}

@media (max-width: 640px) {
  .brand { gap: 5px; }
  .brand img { width: 49px; height: 49px; }
  .brand strong { font-size: 18px; font-weight: 600; letter-spacing: .01em; }
  .brand small { font-size: 7px; letter-spacing: .26em; }
  .site-header .header-cta {
    padding: 11px 12px;
    font-size: 10px;
    min-height: 40px;
    gap: 8px;
    border-radius: 5px;
  }
  .hero h1 { font-size: 40px; line-height: 1.3; letter-spacing: -.055em; }
  .hero-description { font-size: 13px; line-height: 1.95; max-width: 310px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .1em; }
  #main .hero-actions .button { min-height: 50px; font-size: 12px; padding: 15px 17px; }
  .hero-actions .text-link { font-size: 11px; }
  .hero-region { font-size: 10px; }
  .intro-strip { padding: 10px 0; }
  .intro-grid strong { font-size: 12px; }
  .intro-grid p > span { font-size: 10px; }
  .section-heading { margin-bottom: 30px; }
  .heading-description { font-size: 12px; line-height: 1.95; }
  .service-grid { gap: 25px; }
  .service-card { border-radius: 8px; box-shadow: 0 5px 16px rgba(17, 53, 79, .03); }
  .service-image { aspect-ratio: 1.5; }
  .service-copy { padding: 23px 21px 21px; }
  .service-copy h3 { font-size: 24px; margin-bottom: 12px; }
  .service-copy p { font-size: 13px; line-height: 1.9; }
  .service-index { right: 21px; top: 27px; }
  .service-copy p br { display: none; }
  .image-label { font-size: 10px; left: 21px; bottom: 22px; }
  .circle-arrow { right: 19px; bottom: 17px; width: 32px; height: 32px; }
  .tags { margin-top: 17px; }
  .tags span { font-size: 10px; padding: 6px 9px; }
  .service-link { font-size: 12px; margin-top: 18px; padding: 18px 0 0; }
  .service-note { font-size: 11px; }
  .standard-content h2 { font-weight: 600; }
  .standard-description { font-size: 13px; }
  .room-tabs button { font-size: 12px; padding: 16px 3px; }
  .room-lead { font-size: 13px; line-height: 1.75; }
  .room-panel li { font-size: 12px; line-height: 1.8; }
  .scope-note { font-size: 10px; }
  .process-grid { gap: 31px 22px; }
  .process-grid h3 { font-size: 17px; line-height: 1.65; }
  .process-grid p { font-size: 12px; line-height: 1.85; }
  .process-grid p br { display: none; }
  .faq-intro { font-size: 12px; }
  .faq-list summary { font-size: 13px; padding: 23px 0; gap: 11px; line-height: 1.7; }
  .faq-list details p { font-size: 12px; line-height: 1.95; padding-left: 24px; }
  .contact-section p:not(.eyebrow) { font-size: 13px; line-height: 1.85; }
  .contact-section .button { font-size: 13px; }
  .service-page-hero { padding: 22px 0 33px; }
  .breadcrumb { font-size: 10px; margin-bottom: 24px; }
  .page-hero-copy .eyebrow { font-size: 9px; }
  .page-hero-copy h1 { font-size: 34px; line-height: 1.45; }
  .page-hero-copy > p:not(.eyebrow) { font-size: 13px; line-height: 1.95; }
  .page-hero-bottom > span { font-size: 10px; }
  .page-hero-bottom .text-link { font-size: 11px; }
  .page-hero-actions { gap: 17px; }
  .page-hero-image { border-radius: 7px; }
  .service-page-body { padding: 32px 0 65px; }
  .service-sidebar h2 { font-size: 20px; }
  .service-sidebar nav a {
    font-size: 12px;
    line-height: 1.6;
    padding: 9px 13px;
    border: 1px solid #dce6ed;
    border-radius: 5px;
    min-height: 39px;
  }
  .service-sidebar nav a.active,
  .service-sidebar nav a[aria-current=page] {
    border-color: #367caf;
    background: #edf5fb;
    font-weight: 500;
  }
  .service-detail-copy > .eyebrow { font-size: 9px; }
  .detail-description, .category-intro { font-size: 13px; line-height: 1.95; }
  .detail-section { margin-top: 36px; }
  .recommendation-list li { font-size: 12px; }
  .scope-grid > div { padding: 18px; min-height: 140px; }
  .scope-grid p { font-size: 12px; line-height: 1.85; }
  .scope-number { font-size: 11px; }
  .detail-scope-note { font-size: 10px; }
  .preparation-list { font-size: 12px; line-height: 1.95; padding-left: 34px; }
  .detail-cta { padding: 23px; }
  .detail-cta p { font-size: 11px; }
  #service-view .detail-cta .button { min-height: 48px; font-size: 12px; }
  .category-service-item, .category-service-item:hover { padding: 24px 3px; gap: 17px; }
  .category-service-item h3 { font-size: 19px; }
  .category-service-item p { font-size: 12px; line-height: 1.9; }
  .information-section h1 { font-size: 32px; }
  .information-lead { font-size: 13px; }
  .about-feature-grid p { font-size: 13px; }
  .footer-top .brand strong { font-size: 17px; }
  .footer-top .brand img { width: 47px; height: 47px; }
  .footer-top > p { font-size: 10px; line-height: 1.85; }
  .footer-business { font-size: 11px; }
  .footer-bottom { font-size: 10px; }
}

@media (max-width: 370px) {
  .brand img { width: 43px; height: 43px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 6px; }
  .site-header .header-cta { padding: 10px; }
  .site-header .header-cta .icon { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-description { font-size: 12px; }
  .intro-grid p { flex-wrap: wrap; gap: 5px; }
}
