:root {
  --ink: #090909;
  --paper: #fff;
  --soft: #f3f4f2;
  --text: #161716;
  --muted: #5c605d;
  --line: #d8dcd8;
  --lime: #c5ff32;
  --green: #365d0b;
  --font: "Noto Sans KR Variable", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  font-family: var(--font);
  font-synthesis: none;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
figure {
  margin: 0;
  min-width: 0;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.3;
}
p,
a,
li,
th,
td {
  overflow-wrap: anywhere;
  word-break: keep-all;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 22px;
}
strong,
b {
  font-weight: 600;
}
p + p {
  margin-top: 16px;
}
:focus-visible {
  outline: 3px solid #457715;
  outline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
section[id] {
  scroll-margin-top: 24px;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
}
.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 50;
  padding: 12px;
  background: white;
  color: black;
}
.skip-link:focus {
  top: 8px;
}
.site-header {
  --muted: #b6b9b3;
  --line: #363934;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: auto;
}
.brand {
  display: block;
  text-decoration: none;
  min-width: 0;
  line-height: 1.4;
}
.brand > span {
  font-size: 21px;
  font-weight: 600;
  display: block;
}
.brand small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 400;
}
.site-header .brand small {
  color: #c9cec4;
}
.site-header :focus-visible {
  outline-color: var(--lime);
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  white-space: nowrap;
}
.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--paper);
}
.desktop-nav a[aria-current] {
  font-weight: 500;
}
.desktop-nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--lime);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0 8px 20px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  font-size: 14px;
  color: var(--lime);
}
.header-cta:hover {
  text-decoration: underline;
}
.menu-button {
  background: transparent;
  color: var(--paper);
  border: 1px solid #64685f;
  border-radius: 4px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.menu-button:hover,
.menu-button[aria-expanded="true"] {
  border-color: var(--lime);
  color: var(--lime);
}
.mobile-nav {
  display: none;
}
.menu-close-icon,
.menu-button[aria-expanded="true"] .menu-open-icon {
  display: none;
}
.menu-button[aria-expanded="true"] .menu-close-icon {
  display: block;
}
.mobile-nav a[aria-current="page"] {
  color: var(--lime);
  font-weight: 500;
  border-bottom-color: var(--lime);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: background-color 0.2s;
}
.primary {
  background: var(--lime);
  color: var(--ink);
}
.primary:hover {
  background: #dcff94;
}
.outline {
  border-color: #90958e;
  color: inherit;
  background: transparent;
}
.outline:hover {
  background: var(--soft);
}
.dark {
  background: var(--ink);
  color: white;
}
.dark:hover {
  background: #303030;
}
.fine-print {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.8;
}
.fine-print a {
  display: inline-block;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details > p {
  padding: 0 40px 24px 0;
  color: var(--muted);
  font-size: 16px;
}
.faq details[open] svg {
  transform: rotate(45deg);
}
.sources {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 40px;
}
.sources h2 {
  font-size: 16px;
  margin-bottom: 12px;
}
.sources .text-link {
  font-size: 13px;
  color: var(--muted);
  margin: 0 24px 0 0;
}
.sources p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.article-hero {
  --muted: #b6b9b3;
  --line: #363934;
  padding: 24px 0 52px;
  text-align: left;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line);
}
.article-intro {
  max-width: 1040px;
}
.article-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  margin-bottom: 24px;
}
.article-hero :focus-visible {
  outline-color: var(--lime);
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
}
.breadcrumb:hover {
  color: var(--paper);
  text-decoration: underline;
}
.breadcrumb svg {
  width: 14px;
  height: 14px;
}
.article-hero h1 {
  font-size: 44px;
  max-width: 840px;
  line-height: 1.4;
  font-weight: 500;
}
.article-hero .eyebrow {
  margin: 0;
  color: var(--lime);
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
  margin: 20px 0 0;
  line-height: 1.8;
}
.article-body {
  max-width: 1040px;
  padding-top: 40px;
  padding-bottom: 72px;
}
.article-body > section {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.article-body > section:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.article-body > section h2 {
  font-size: 28px;
  margin-bottom: 28px;
  line-height: 1.5;
  font-weight: 600;
}
.article-body p {
  font-size: 16px;
  line-height: 1.9;
}
.article-body > section > p:not(.fine-print, .caption) {
  max-width: 780px;
}
.article-body > section > p + p {
  margin-top: 20px;
}
.article-body > section > .fine-print + p {
  margin-top: 28px;
}
.article-body h2 + p {
  margin-top: 0;
}
.article-body .text-link {
  margin-top: 12px;
}
.article-body > section > .text-link {
  gap: 24px;
}
.article-body > section > .button {
  margin-top: 20px;
}
.note {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--ink);
}
.note > div {
  min-width: 0;
}
.note > svg {
  color: var(--green);
  margin-top: 3px;
}
.note strong {
  font-size: 16px;
  font-weight: 500;
}
.note p,
.article-body .note p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}
.article-body > .note {
  margin-top: 40px;
}
.article-body > .note:first-child {
  margin-top: 0;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.steps h3 {
  font-size: 20px;
  padding-top: 4px;
}
.steps p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 720px;
}
.step-number {
  font-size: 44px;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.table-scroll {
  overflow: auto;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  border-top: 1px solid var(--ink);
  overscroll-behavior-x: contain;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-weight: 500;
}
thead {
  background: var(--soft);
}
thead th {
  font-size: 13px;
  color: var(--muted);
  border-bottom-color: var(--ink);
}
tbody th {
  width: 25%;
}
tbody tr:last-child > * {
  border-bottom-color: var(--ink);
}
tbody tr:hover {
  background: #f8f9f7;
}
.caption,
.article-body p.caption {
  color: var(--muted);
  font-size: 13px;
}
.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.contents a {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.contents a:hover {
  text-decoration: underline;
}
.article-body h2:has(.chapter) {
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.chapter {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 40px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.guide-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: center;
}
.guide-photo figure img {
  width: 220px;
  margin: auto;
  object-fit: contain;
}
.guide-photo figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 16px;
  text-align: center;
}
.article-body > .article-action {
  border-top: 2px solid var(--ink);
  text-align: left;
  padding-top: 40px;
}
.article-action > p:not(.fine-print) {
  max-width: 680px;
}
.article-body .fine-print {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid var(--ink);
  padding-top: 28px;
  margin-top: 56px;
}
.related h2 {
  grid-column: 1 / -1;
  font-size: 18px;
  margin-bottom: 12px;
}
.article-body .related .text-link {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.related .text-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}
.article-body .sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  padding-top: 28px;
  margin-top: 40px;
}
.article-body .sources h2,
.article-body .sources p {
  grid-column: 1 / -1;
}
.article-body .sources .text-link {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.article-body .sources .text-link:hover {
  color: var(--ink);
  text-decoration: underline;
}
.article-body .sources p {
  font-size: 13px;
  margin-top: 20px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  padding: 20px 0 20px 24px;
  border-top: 1px solid var(--line);
  position: relative;
}
.checklist li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--green);
}
.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  border: 1px solid #b9beb5;
  border-radius: 8px;
  margin-top: 28px;
  padding: 32px;
  background: var(--soft);
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.calc-inputs label {
  font-size: 16px;
  font-weight: 500;
}
.calc-inputs label span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.calc-inputs input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 10px;
  background: white;
  border: 1px solid #92998e;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 20px;
  color: var(--text);
  min-height: 56px;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s;
}
.calc-inputs input:hover {
  border-color: var(--ink);
}
.calc-inputs input:focus-visible {
  border-color: var(--green);
  outline-offset: 3px;
}
.calc-inputs input::placeholder {
  font-size: 16px;
  color: var(--muted);
  opacity: 1;
}
.calc-inputs .button {
  margin-top: 4px;
  justify-content: space-between;
}
.calc-result {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  min-width: 0;
}
.calc-result > output {
  display: block;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.5;
  margin: 16px 0 28px;
  min-height: 3em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.calc-result dl {
  margin: 0;
}
.calc-result dl div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-size: 14px;
}
.calc-result dl div:last-child {
  border-top-color: var(--ink);
  font-weight: 500;
}
.calc-result dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.calc-result .caption {
  margin-top: 24px;
}
.calc-result #calc-error {
  color: #9e2e20;
  font-size: 14px;
}
.footer {
  --muted: #b6b9b3;
  --line: #363934;
  background: var(--ink);
  color: #f5f5f5;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer :focus-visible {
  outline-color: var(--lime);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-top .brand > span {
  font-size: 28px;
  font-weight: 500;
}
.footer-top p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.footer-top .brand p {
  margin-top: 14px;
  font-size: 16px;
}
.footer-top > p {
  align-self: end;
  justify-self: end;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid #70766a;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.footer-links nav {
  min-width: 0;
}
.footer-links h2 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--lime);
}
.footer-links .text-link {
  display: flex;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  padding: 8px 0;
}
.footer-links .text-link:hover,
.footer-links .text-link[aria-current="page"] {
  color: var(--paper);
  text-decoration: underline;
}
.footer-links .text-link[aria-current="page"] {
  text-decoration-color: var(--lime);
}
.footer-links svg {
  width: 15px;
  height: 15px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
    gap: 24px;
  }
  .header-cta {
    margin-left: auto;
  }
  .menu-button {
    display: flex;
  }
  .mobile-nav:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1280px;
    margin: auto;
    padding: 8px 40px 24px;
    gap: 0 32px;
  }
  .mobile-nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }
  .mobile-nav a:hover {
    color: var(--paper);
  }
}
@media (max-width: 900px) {
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .header-inner {
    padding: 12px 28px;
  }
  .mobile-nav:not([hidden]) {
    padding-left: 28px;
    padding-right: 28px;
  }
  .guide-photo {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
  }
  .guide-photo figure img {
    width: 200px;
  }
  .article-hero h1 {
    font-size: 38px;
  }
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }
  .footer-top {
    gap: 28px;
  }
}
@media (max-width: 700px) {
  .guide-photo,
  .calculator {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .guide-photo figure img {
    width: 220px;
  }
  .calc-result {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 0 0;
  }
}
@media (max-width: 620px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .header-inner {
    padding: 12px 24px;
    gap: 12px;
  }
  .brand > span {
    font-size: 18px;
  }
  .header-cta {
    display: none;
  }
  .mobile-nav:not([hidden]) {
    padding-left: 24px;
    padding-right: 24px;
    gap: 0 20px;
  }
  .button {
    font-size: 14px;
    padding: 12px 16px;
    gap: 8px;
  }
  .button svg {
    width: 18px;
    height: 18px;
  }
  .article-hero {
    padding-top: 16px;
    padding-bottom: 32px;
  }
  .article-kicker {
    margin-bottom: 16px;
    gap: 0 8px;
  }
  .article-hero h1 {
    font-size: 30px;
    line-height: 1.4;
  }
  .lead {
    font-size: 16px;
    margin-top: 16px;
  }
  .article-body {
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .article-body > section {
    margin-top: 36px;
    padding-top: 28px;
  }
  .article-body > section h2 {
    font-size: 23px;
    margin-bottom: 24px;
  }
  .article-body p {
    font-size: 16px;
  }
  .article-body .fine-print {
    font-size: 13px;
  }
  .note {
    padding: 18px 16px;
    gap: 12px;
  }
  .steps li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }
  .steps h3 {
    font-size: 19px;
    padding-top: 2px;
  }
  .step-number {
    font-size: 32px;
  }
  .article-body h2:has(.chapter) {
    gap: 16px;
  }
  .chapter {
    font-size: 30px;
  }
  .table-scroll table {
    min-width: 560px;
  }
  th,
  td {
    padding: 14px 16px;
  }
  .contents {
    gap: 4px 16px;
  }
  .contents a {
    font-size: 13px;
  }
  .article-body > .article-action {
    padding-top: 28px;
  }
  .related,
  .article-body .sources {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
    padding-top: 24px;
  }
  .faq summary {
    font-size: 16px;
    gap: 16px;
    padding: 20px 0;
  }
  .faq details > p {
    font-size: 16px;
    padding-right: 0;
  }
  .calculator {
    padding: 20px;
  }
  .calc-result > output {
    font-size: 26px;
  }
  .footer {
    padding: 40px 0 24px;
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }
  .footer-top .brand > span {
    font-size: 24px;
  }
  .footer-top > p {
    justify-self: start;
    padding-left: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
  }
  .footer-links {
    gap: 28px 24px;
  }
}
@media (max-width: 359px) {
  .wrap,
  .header-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .mobile-nav:not([hidden]) {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
