:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --surface: #fffefa;
  --band: #eeefe7;
  --ink: #1b2b25;
  --muted: #4e5d55;
  --green: #225543;
  --green-deep: #16372c;
  --line: #d8dcd1;
  --fine-line: #e3e6dd;
  --clay: #944a29;
  --clay-light: #f4e9d9;
  --radius: 18px;
  --shell: 1192px;
  --page-margin: clamp(18px, 4vw, 46px);
  --body-font: Pretendard, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Malgun Gothic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.68 var(--body-font);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, ul, ol { margin: 0; }
p { color: var(--muted); }
h1, h2, h3, strong { font-weight: 750; }
h1, h2, h3 { line-height: 1.24; letter-spacing: -.045em; }
button, select, input { font: inherit; }
a, button, summary, select { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .check-result:focus {
  outline: 3px solid #b25e26;
  outline-offset: 4px;
}
.shell { width: min(var(--shell), calc(100% - 2 * var(--page-margin))); margin-inline: auto; }
.section { padding-block: clamp(51px, 7.1vw, 100px); }
.band { background: var(--band); border-block: 1px solid var(--line); }
.skip {
  position: fixed; z-index: 20; inset: 8px auto auto 12px;
  transform: translateY(-160%); color: white; background: var(--green-deep);
  padding: 9px 15px; border-radius: 8px;
}
.skip:focus { transform: translateY(0); }
.site-header {
  min-height: 77px; position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.header-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 45px; color: var(--ink); text-decoration: none; }
.brand-logo { object-fit: contain; width: clamp(150px, 16.8vw, 207px); height: auto; flex: none; mix-blend-mode: multiply; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2.65vw, 37px); }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-size: .93rem; font-weight: 650; white-space: nowrap; color: var(--muted);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px;
  padding: 0 19px; cursor: pointer; border: 1px solid transparent; border-radius: 9px;
  font-weight: 710; font-size: .94rem; letter-spacing: -.025em;
  text-decoration: none; line-height: 1.25; text-align: center;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.button > span { font-size: 1.08em; }
.button-primary, .header-contact { background: var(--green); color: white; }
.button-primary:hover, .header-contact:hover { background: var(--green-deep); }
.button-outline { border-color: #abb9ad; color: var(--green); background: transparent; }
.button-outline:hover { background: #e7ece2; border-color: var(--green); }
.button-small { min-height: 44px; padding-inline: 14px; font-size: .88rem; }
.button-plain { border-color: transparent; background: transparent; color: var(--muted); }
.button-plain:hover { background: var(--band); }
.button-light { color: var(--green-deep); background: var(--surface); }
.button-light:hover { background: #e3eadf; }
.button-inverse { background: transparent; color: #f8faf3; border-color: #728b7d; }
.button-inverse:hover { background: #29483c; border-color: #afc7b8; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.text-link {
  display: inline-flex; gap: 7px; align-items: center; min-height: 37px;
  width: fit-content; color: var(--green); font-size: .92rem; font-weight: 730;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #82998c;
}
.text-link:hover { color: var(--green-deep); text-decoration-color: var(--green-deep); }
.eyebrow {
  display: flex; align-items: center; gap: 9px; margin-bottom: 11px;
  color: var(--green); font-size: .85rem; line-height: 1.5; font-weight: 760; letter-spacing: .02em;
}
.eyebrow-line { width: 21px; height: 2px; background: var(--clay); display: inline-block; flex: none; }
.hero {
  padding-block: clamp(31px, 5vw, 69px) clamp(34px, 5.5vw, 68px);
  display: grid; grid-template-columns: 1fr 1.055fr; align-items: center; gap: clamp(24px, 4vw, 54px);
}
.hero h1 { font-size: clamp(2.72rem, 5.15vw, 4.75rem); line-height: 1.13; letter-spacing: -.067em; }
.hero h1 span { color: var(--green); }
.hero-description {
  max-width: 30em; margin: 20px 0 25px;
  font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.7; letter-spacing: -.025em;
}
.hero-figure { position: relative; min-width: 0; border-radius: 19px; overflow: hidden; background: #c8d2c9; }
.hero-figure img { width: 100%; aspect-ratio: 1.47; height: auto; object-fit: cover; object-position: center 48%; }
.hero-figure figcaption {
  position: absolute; left: 14px; bottom: 13px; color: white; background: rgb(21 38 31 / .88);
  padding: 5px 10px; border-radius: 5px; font-size: .72rem; line-height: 1.4;
}
.law-strip {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1.15fr; align-items: stretch;
  border: 1px solid var(--line); background: var(--surface); border-radius: 13px;
}
.law-strip > div { padding: 17px 26px; min-height: 98px; display: grid; align-content: center; gap: 3px; }
.law-strip > div + div { border-left: 1px solid var(--line); }
.law-strip span { font-size: .87rem; color: var(--muted); font-weight: 650; }
.law-strip strong { font-size: 1.3rem; line-height: 1.28; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.law-strip a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; width: fit-content; font-size: .76rem; }
.law-strip a span { font-size: inherit; }
.strip-note strong { color: var(--clay); }
.section-heading { margin-bottom: 28px; }
.section-heading p:not(.eyebrow) { margin-top: 11px; max-width: 48em; }
h2 { font-size: clamp(1.93rem, 3.6vw, 3.15rem); }
h3 { font-size: 1.18rem; }
.heading-with-link { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.heading-with-link .text-link { flex: none; }
.route-grid, .area-grid, .document-grid { display: grid; gap: 15px; }
.route-grid, .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.route-card, .area-card, .document-panel, .general-card {
  padding: clamp(18px, 2.8vw, 32px); border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius); min-width: 0;
}
.route-card { display: grid; grid-template-rows: auto 1fr auto; align-content: start; gap: 10px; }
.route-card a { margin-top: 5px; width: fit-content; min-height: 43px; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 730; color: var(--green); text-decoration: none; }
.route-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.route-primary { color: #fffefa; background: var(--green-deep); border-color: var(--green-deep); }
.route-primary p { color: #d9e7dd; }
.route-primary a { color: #fcfff8; }
.condition {
  display: grid; grid-template-columns: minmax(125px, .32fr) 1fr; gap: 16px; margin-bottom: 15px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
}
.condition ul, .details-body ul, .check-result ul { padding-inline-start: 1.15em; color: var(--muted); }
.condition li + li, .check-result li + li { margin-top: 4px; }
.area-card h3 { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.area-card h3 small { font-size: .75rem; color: var(--muted); }
.threshold {
  margin: 11px 0 6px; color: var(--green); font-size: clamp(2.08rem, 4vw, 3.23rem);
  font-weight: 760; line-height: 1.14; letter-spacing: -.06em; font-variant-numeric: tabular-nums;
}
.threshold span { margin-left: 4px; font-size: .9rem; letter-spacing: -.025em; font-weight: 700; }
.fineprint { margin-top: 12px; font-size: .875rem; }
.note { background: var(--clay-light); border-left: 3px solid #b96938; padding: 17px 20px; margin-top: 22px; border-radius: 0 10px 10px 0; }
.note h3 { margin-bottom: 6px; font-size: 1.04rem; }
.note p { color: #594536; }
.disclosures { margin-top: 21px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 58px;
  padding: 12px 5px; cursor: pointer; font-weight: 730; list-style: none; letter-spacing: -.022em;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--green); }
details[open] summary { color: var(--green); }
.accordion-mark { position: relative; width: 21px; height: 21px; display: inline-block; flex: none; color: var(--green); }
.accordion-mark::before, .accordion-mark::after {
  position: absolute; content: ""; background: currentColor; border-radius: 1px; inset: 9px 4px auto; height: 2px;
}
.accordion-mark::after { transform: rotate(90deg); }
details[open] .accordion-mark::after { transform: rotate(0); }
.details-body { padding: 0 23px 17px 5px; }
.details-body > * + * { margin-top: 10px; }
.details-body li + li { margin-top: 6px; }
.checker-band { background: #e8eee4; }
.checker-grid { display: grid; grid-template-columns: .67fr 1.33fr; align-items: start; gap: clamp(27px, 6vw, 88px); }
.checker-intro p:not(.eyebrow) { margin-top: 14px; }
.checker-intro .checker-privacy { font-size: .88rem; }
.checker-intro .text-link { margin-top: 10px; }
.assessment { padding: clamp(19px, 3vw, 34px); border: 1px solid #ccd7ca; border-radius: var(--radius); background: var(--surface); }
.form-grid { display: grid; align-items: start; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { font-size: .91rem; letter-spacing: -.024em; font-weight: 740; }
.field select, .field input {
  min-height: 49px; width: 100%; border: 1px solid #adbaaf; border-radius: 7px;
  padding: 9px 10px; background: white; color: var(--ink); font-size: 1rem; line-height: 1.25;
}
.field select { padding-right: 27px; }
.field small { color: var(--muted); font-size: .77rem; line-height: 1.35; }
.field input::placeholder { color: #67766b; }
.form-actions { margin-top: 18px; }
.check-result { margin-top: 19px; padding: 16px; border-radius: 10px; background: var(--band); border: 1px solid var(--line); }
.check-result[data-status="review"] { background: var(--clay-light); border-color: #e8d5b9; }
.check-result h3 { margin-bottom: 8px; }
.check-result .text-link { margin-top: 7px; }
.process-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 28px clamp(32px, 7vw, 104px); }
.process-note { margin-top: 20px; border-left: 2px solid #a87b56; padding-left: 15px; }
.process-note p { margin-top: 5px !important; font-size: .92rem; }
.timeline { list-style: none; padding: 0; display: grid; }
.timeline li { position: relative; padding: 0 0 23px 56px; min-height: 68px; }
.timeline li:last-child { padding-bottom: 0; }
.step-number {
  position: absolute; inset: 0 auto auto 0;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--green); background: #e5ece2; border: 1px solid #cbd7c9;
  font-variant-numeric: tabular-nums; font-size: .83rem; font-weight: 780;
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 36px; bottom: 0; left: 17px; width: 1px; background: #cbd7c9; }
.timeline h3 { padding-top: 4px; }
.timeline p, .general-card p { margin-top: 5px; }
.general-paths { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.general-card .text-link { margin-top: 7px; }
.document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.document-list { margin-top: 9px; list-style: none; padding: 0; }
.document-list li {
  display: grid; padding: 11px 0 11px 18px; position: relative;
  line-height: 1.44; gap: 3px; border-bottom: 1px solid var(--fine-line);
}
.document-list li::before { content: ""; position: absolute; top: 17px; left: 0; width: 7px; height: 7px; border: 1px solid #6d8a78; border-radius: 1px; }
.document-list li span { color: var(--muted); font-size: .89rem; }
.documents-photo { overflow: hidden; border-radius: 8px; margin-top: 17px; }
.documents-photo img { width: 100%; height: auto; aspect-ratio: 2.48; object-fit: cover; }
.documents-photo figcaption { color: var(--muted); margin-top: 4px; font-size: .75rem; }
.resource-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.resource-bar a {
  background: var(--surface); display: inline-flex; min-height: 44px; align-items: center;
  gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 7px;
  color: var(--green); font-size: .86rem; font-weight: 710; text-decoration: none;
}
.resource-bar a:hover { border-color: var(--green); }
.local-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 5.5vw, 82px);
  align-items: center;
}
.local-section h2 + p { margin-top: 11px; }
.local-section .text-link { margin-top: 8px; }
.office-picker { padding: 22px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.office-result { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; }
.office-result > div { display: grid; line-height: 1.35; }
.office-result > div span { font-size: .83rem; color: var(--muted); }
.office-result .button { min-height: 44px; }
.office-default { margin-top: 9px; font-size: .9rem; }
.office-default a { color: var(--green); font-weight: 730; text-underline-offset: 3px; }
.faq-grid { display: grid; grid-template-columns: .62fr 1.38fr; gap: 20px clamp(20px, 5vw, 70px); }
.faq-grid .disclosures { margin-top: 0; }
.contact-section { padding-bottom: 39px; }
.contact-panel {
  position: relative; display: grid; align-items: center; gap: clamp(20px, 4vw, 60px); overflow: hidden;
  padding: clamp(25px, 5.5vw, 67px); border-radius: 21px; color: var(--surface); background: var(--green-deep);
}
.contact-panel.with-portrait { grid-template-columns: minmax(0, 1fr) minmax(225px, .55fr); }
.contact-panel h2 { max-width: 16em; }
.contact-panel p { color: #d9e7dd; }
.contact-panel p:not(.eyebrow) { max-width: 34em; margin-top: 14px; }
.contact-panel .actions { margin-top: 21px; }
.portrait { border-radius: 13px; overflow: hidden; background: #213f36; width: 100%; max-width: 345px; justify-self: end; }
.portrait img { width: 100%; display: block; height: auto; aspect-ratio: 1.13; object-fit: cover; object-position: center 26%; }
.portrait figcaption { display: grid; gap: 3px; padding: 11px 13px; color: #e2ede4; font-size: .85rem; line-height: 1.4; }
.portrait figcaption strong { color: var(--surface); font-size: .98rem; }
.portrait figcaption a { width: fit-content; }
.portrait figcaption a { text-underline-offset: 3px; }
.sources { display: grid; grid-template-columns: .7fr 1.3fr; gap: 17px; padding-bottom: 40px; }
.sources h2 { font-size: 1.25rem; }
.sources p { margin-top: 5px; font-size: .86rem; }
.source-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 15px; list-style: none; padding: 0; }
.source-links a { min-height: 36px; display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: .87rem; text-underline-offset: 3px; }
.site-footer { border-top: 1px solid var(--line); background: var(--band); }
.footer-inner { min-height: 108px; padding-block: 23px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px 29px; }
.footer-inner p, .footer-inner a { color: var(--muted); font-size: .83rem; }
.footer-inner a { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; text-underline-offset: 3px; }

@media (max-width: 950px) {
  .hero h1 { font-size: clamp(2.46rem, 5.4vw, 4rem); }
  .hero { column-gap: 24px; }
  .hero-description { margin: 14px 0 20px; }
  .hero .button { padding-inline: 13px; gap: 8px; }
  .law-strip > div { padding-inline: 19px; }
  .form-grid { column-gap: 11px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 115px; }
  .site-header { min-height: 0; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 10px; min-height: 0; }
  .brand { min-height: 60px; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 4px; border-top: 1px solid var(--fine-line); }
  .site-nav a { font-size: clamp(.77rem, 3.05vw, .93rem); white-space: normal; }
  .hero { grid-template-columns: 1fr; gap: 17px; align-items: start; }
  .hero h1 { font-size: clamp(2.55rem, 8.65vw, 3.75rem); }
  .hero-description { margin: 15px 0 20px; }
  .hero .actions { margin-bottom: 3px; }
  .hero-figure img { aspect-ratio: 1.65; }
  .law-strip { grid-template-columns: 1fr 1fr; }
  .law-strip > div { min-height: 77px; padding: 10px 13px; }
  .law-strip span { font-size: .79rem; }
  .law-strip strong { font-size: 1.11rem; }
  .law-strip .strip-note { grid-column: 1 / -1; min-height: 0; grid-template-columns: auto 1fr auto; gap: 5px 8px; align-items: center; border-left: 0; border-top: 1px solid var(--line); }
  .strip-note strong { font-size: .86rem; }
  .strip-note a { margin-left: auto; }
  .section-heading { margin-bottom: 21px; }
  .heading-with-link { display: block; }
  .heading-with-link > a { margin-top: 6px; }
  .route-grid, .document-grid, .general-paths, .checker-grid, .process-grid, .local-section, .faq-grid, .sources { grid-template-columns: 1fr; }
  .route-grid, .document-grid, .general-paths { gap: 10px; }
  .route-card { gap: 5px; }
  .route-card a { margin-top: 1px; }
  .condition { grid-template-columns: 1fr; gap: 7px; padding: 17px 18px; }
  .area-grid { gap: 8px; }
  .area-card { padding: 13px 10px; }
  .area-card h3 { font-size: clamp(.82rem, 3.15vw, 1.02rem); gap: 2px 4px; }
  .area-card h3 small { font-size: .64rem; }
  .area-card p:not(.threshold) { font-size: .76rem; line-height: 1.46; }
  .threshold { font-size: clamp(1.57rem, 5.88vw, 2.62rem); margin-block: 8px 5px; }
  .threshold span { display: block; font-size: .72rem; margin-left: 0; }
  .checker-grid { gap: 19px; }
  .checker-intro br, .process-grid .section-heading br, .contact-panel h2 br { display: none; }
  .checker-intro p:not(.eyebrow) { margin-top: 8px; }
  .process-grid { gap: 21px; }
  .process-grid .section-heading { margin-bottom: 3px; }
  .timeline li { padding-left: 46px; }
  .contact-panel.with-portrait { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; justify-self: start; }
  .faq-grid .section-heading { margin-bottom: 0; }
  .source-links { gap: 5px 12px; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 510px) {
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .area-grid { grid-template-columns: 1fr; gap: 7px; }
  .area-card { display: grid; grid-template-columns: minmax(95px, .78fr) minmax(0, 1.22fr); gap: 4px 11px; padding: 14px 16px; align-items: center; }
  .threshold { margin: 0; grid-row: 1 / 3; grid-column: 1; font-size: 1.95rem; }
  .threshold span { display: inline; margin-left: 3px; }
  .area-card h3, .area-card p:not(.threshold) { grid-column: 2; }
  .area-card h3 { font-size: 1rem; }
  .area-card p:not(.threshold) { font-size: .82rem; }
  .source-links { grid-template-columns: 1fr; }
}
@media (max-width: 340px) {
  .law-strip .strip-note { grid-template-columns: 1fr auto; }
  .strip-note a { grid-column: 1 / -1; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  body { background: white; }
  .site-header { position: static; }
  .hero-figure, .site-nav, .checker-band, .footer-inner > a, .contact-panel .actions { display: none; }
  .hero, .section { padding-block: 19px; }
  .band { background: white; }
  .process-grid, .document-grid, .faq-grid { display: block; }
  details > .details-body { display: block; }
  .route-card, .area-card, .document-panel, .general-card { break-inside: avoid; }
}
