:root {
  --ink: #13201d;
  --muted: #60716b;
  --line: #dfe7e2;
  --paper: #ffffff;
  --soft: #f3f7f4;
  --deep: #0b3129;
  --green: #147d5d;
  --green-2: #0e6c58;
  --blue: #235e8f;
  --gold: #b9872f;
  --shadow: 0 18px 50px rgba(13, 34, 29, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.65;
  word-break: keep-all;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--paper);
  color: var(--deep);
  padding: 8px 12px;
  border: 1px solid var(--deep);
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-menu a:not(.nav-call) {
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--paper);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #bfe1d2;
  font-weight: 700;
}

.site-header.is-scrolled .brand small {
  color: var(--green);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  color: var(--paper);
  font-size: 15px;
  font-weight: 800;
}

.nav-menu a[aria-current="page"] {
  color: #c8eadc;
}

.site-header.is-scrolled .nav-menu a[aria-current="page"] {
  color: var(--green);
}

.nav-call {
  padding: 10px 16px;
  background: var(--green);
  border-radius: 999px;
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--paper);
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: var(--paper);
}

.site-header.is-scrolled .menu-toggle span:not(.sr-only) {
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 130px 0 62px;
  overflow: hidden;
  color: var(--paper);
}

.compact-hero {
  min-height: 72vh;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 24, 20, .88), rgba(7, 24, 20, .58) 48%, rgba(7, 24, 20, .28)),
    linear-gradient(0deg, rgba(7, 24, 20, .72), rgba(7, 24, 20, .05) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #6fd0a5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section .eyebrow,
.keyword-band + .section .eyebrow,
.cta-section .eyebrow {
  color: var(--green);
}

.section-dark .eyebrow {
  color: #84e1bd;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.3vw, 52px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
  color: #e4efe9;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 12px 30px rgba(20, 125, 93, .28);
}

.btn-primary:hover {
  background: var(--green-2);
}

.btn-secondary {
  background: #f3b33e;
  color: #17211f;
}

.btn-outline {
  border-color: var(--green);
  color: var(--green);
  background: var(--paper);
}

.btn-full {
  width: 100%;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 800;
}

.keyword-band {
  background: var(--deep);
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.keyword-grid a {
  padding: 18px 12px;
  color: var(--paper);
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
  font-size: 15px;
}

.keyword-grid a:last-child {
  border-right: 1px solid rgba(255,255,255,.12);
}

.answer-strip {
  padding: 58px 0;
  background: #fffaf1;
  border-bottom: 1px solid #eadcc3;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.answer-box {
  padding: 24px;
  border: 1px solid #eadcc3;
  border-radius: 8px;
  background: var(--paper);
}

.answer-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.35;
}

.answer-box p {
  margin-bottom: 14px;
  color: var(--muted);
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--soft);
}

.section-dark {
  background: #10221e;
  color: var(--paper);
}

.section-dark p,
.section-dark li {
  color: #d1ddd8;
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-head p,
.section-dark .lead {
  color: #cddbd5;
}

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

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

.guide-card {
  padding: 24px;
}

.guide-card time,
.guide-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.guide-card h3 {
  margin-bottom: 10px;
}

.guide-card p {
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #d8eee5;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-toc {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.article-toc strong,
.article-toc a {
  display: block;
}

.article-toc strong {
  margin-bottom: 10px;
}

.article-toc a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.summary-answer {
  padding: 28px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #eef8f3;
  box-shadow: 0 8px 28px rgba(13, 34, 29, .08);
}

.summary-answer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 22px;
}

.summary-answer p:last-child {
  margin-bottom: 0;
}

.content-block {
  margin-top: 42px;
}

.content-block h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.content-list {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--soft);
  color: var(--deep);
  font-weight: 900;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.inline-cta {
  margin-top: 34px;
  padding: 28px;
  border-radius: 8px;
  background: var(--deep);
  color: var(--paper);
}

.inline-cta p {
  color: #d9e8e2;
}

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

.related-grid a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--deep);
  font-weight: 900;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 2px 0 rgba(0,0,0,.02);
}

.service-card {
  padding: 26px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p,
.service-card li {
  color: var(--muted);
}

.service-card ul {
  padding-left: 20px;
  margin: 18px 0 22px;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f3ed;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.text-link {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.notice-box,
.check-panel {
  border-left: 4px solid var(--gold);
  background: var(--paper);
  padding: 22px;
  box-shadow: var(--shadow);
}

.notice-box strong,
.notice-box span {
  display: block;
}

.notice-box span {
  color: var(--muted);
}

.check-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.check-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.quote-box {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quote-box label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}

.quote-box input,
.quote-box select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd8d2;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--paper);
  font-weight: 900;
}

.process-grid h3 {
  margin-bottom: 8px;
}

.process-grid p {
  color: var(--muted);
}

.promise-list {
  display: grid;
  gap: 14px;
}

.promise-list div {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}

.promise-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.promise-list p {
  margin-bottom: 0;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.section-dark details {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--green);
  font-size: 20px;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.section-dark details p {
  color: #d1ddd8;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cost-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cost-grid strong,
.cost-grid span {
  display: block;
}

.cost-grid strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.cost-grid span {
  color: var(--muted);
}

.center-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.cta-section {
  padding: 78px 0;
  background: linear-gradient(180deg, #f3f7f4, #ffffff);
}

.cta-panel {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 44px 0 28px;
  background: #0d1e1a;
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: #bed0ca;
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
}

.mobile-cta {
  display: none;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--soft);
}

.not-found-panel {
  padding: 48px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a,
  .site-header .nav-menu a:not(.nav-call) {
    color: var(--ink);
    padding: 14px 12px;
  }

  .nav-call {
    margin-top: 6px;
    text-align: center;
    color: var(--paper) !important;
  }

  .hero {
    min-height: 78vh;
    padding-top: 112px;
  }

  .keyword-grid,
  .service-grid,
  .guide-grid,
  .answer-grid,
  .process-grid,
  .cost-grid,
  .related-grid,
  .footer-grid,
  .split,
  .article-layout {
    grid-template-columns: 1fr 1fr;
  }

  .article-toc {
    position: static;
    order: -1;
  }

  .split {
    gap: 28px;
  }

  .keyword-grid a {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 18px;
  }

  .nav-menu {
    top: 66px;
  }

  .hero {
    min-height: 76vh;
    padding: 100px 0 40px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy,
  .section-head p,
  .lead {
    font-size: 16px;
  }

  .hero-actions,
  .center-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .keyword-grid,
  .service-grid,
  .guide-grid,
  .answer-grid,
  .process-grid,
  .cost-grid,
  .related-grid,
  .footer-grid,
  .split,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .cta-panel {
    padding: 28px 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    z-index: 60;
    inset: auto 12px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-cta a {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 8px;
    color: var(--paper);
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(0,0,0,.2);
  }

  .mobile-cta a:first-child {
    background: var(--green);
  }

  .mobile-cta a:last-child {
    background: var(--gold);
    color: #17211f;
  }

  body {
    padding-bottom: 72px;
  }
}
