@charset "UTF-8";
@font-face {
  font-family: "ChosunGu";
  src: url("./fonts/ChosunGu.TTF") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f8f5ef;
  --surface: #fffdf9;
  --ink: #28241f;
  --muted: #746c62;
  --line: #ddd5ca;
  --rose: #c95f6d;
  --rose-dark: #8f3442;
  --rose-soft: #f7dfe2;
  --sage: #5f7767;
  --sage-soft: #e3ece5;
  --sun: #e9a83f;
  --sun-soft: #fff0ce;
  --lilac: #7b6a91;
  --shadow: 0 18px 50px rgba(60, 48, 36, .09);
  --radius: 22px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "ChosunGu", "조선굴림체", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; border-radius: 8px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(221,213,202,.8); background: rgba(248,245,239,.94); backdrop-filter: blur(16px); }
.header-inner { max-width: var(--max); min-height: 72px; margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; font-weight: 900; font-size: 1.27rem; letter-spacing: -.04em; }
.brand .zip { color: var(--rose); }
.desktop-nav { display: flex; gap: 8px; }
.desktop-nav a { padding: 10px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { background: var(--surface); color: var(--rose-dark); box-shadow: 0 2px 12px rgba(60,48,36,.07); }
main { overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.hero { position: relative; padding: 78px 0 58px; }
.hero::before { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid var(--line); border-radius: 46% 54% 43% 57%; top: 18px; right: max(4vw, calc((100vw - var(--max))/2)); transform: rotate(8deg); z-index: -1; }
.eyebrow { margin: 0 0 16px; color: var(--rose-dark); font-size: .84rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 790px; margin-bottom: 20px; font-family: "ChosunGu", "조선굴림체", sans-serif; font-size: clamp(2.55rem, 7vw, 5.6rem); line-height: 1.08; letter-spacing: -.065em; }
.hero h1 .accent { color: var(--rose); }
.hero-lead { max-width: 640px; color: #514a43; font-size: clamp(1.06rem, 2vw, 1.24rem); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.meta-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,253,249,.7); color: var(--muted); font-size: .84rem; font-weight: 700; }
.section { padding: 62px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; font-family: "ChosunGu", "조선굴림체", sans-serif; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.2; letter-spacing: -.045em; }
.section-heading p { max-width: 420px; margin-bottom: 4px; color: var(--muted); }
.file-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.file-card { position: relative; min-height: 285px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; box-shadow: var(--shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.file-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(60,48,36,.14); }
.file-card:nth-child(1) { grid-column: span 7; background: var(--rose-soft); }
.file-card:nth-child(2) { grid-column: span 5; background: var(--sage-soft); }
.file-card:nth-child(3) { grid-column: span 12; min-height: 220px; background: var(--sun-soft); }
.file-no { color: rgba(40,36,31,.45); font-size: .8rem; font-weight: 900; letter-spacing: .15em; }
.file-card h3 { max-width: 430px; margin: 48px 0 10px; font-family: "ChosunGu", "조선굴림체", sans-serif; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.25; letter-spacing: -.035em; }
.file-card p { max-width: 540px; margin-bottom: 0; color: #635b53; }
.file-arrow { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(40,36,31,.22); border-radius: 50%; font-size: 1.2rem; }
.note-strip { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); color: white; }
.note-strip h2 { margin-bottom: 0; font-family: "ChosunGu", "조선굴림체", sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.note-strip p { margin-bottom: 0; color: #d9d2ca; }
.page-hero { padding: 58px 0 34px; }
.page-hero h1 { max-width: 840px; font-size: clamp(2.4rem, 6vw, 4.7rem); }
.breadcrumb { margin-bottom: 18px; color: var(--muted); font-size: .85rem; }
.breadcrumb a { text-underline-offset: 3px; }
.checklist-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; align-items: start; padding-bottom: 80px; }
.check-section { margin-bottom: 40px; }
.check-section h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: "ChosunGu", "조선굴림체", sans-serif; font-size: 1.55rem; }
.count-badge { padding: 3px 9px; border-radius: 999px; background: var(--rose-soft); color: var(--rose-dark); font: 800 .73rem/1.4 "ChosunGu", "조선굴림체", sans-serif; }
.check-list { display: grid; gap: 12px; }
.check-item { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.check-item:hover { border-color: #baa99c; }
.check-item:has(input:checked) { border-color: #a9bcae; background: #f2f7f3; }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.checkmark { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid #aa9f94; border-radius: 9px; background: white; color: white; font-size: .9rem; }
input:checked + .checkmark { border-color: var(--sage); background: var(--sage); }
input:checked + .checkmark::after { content: "✓"; }
.item-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 900; }
.item-note { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.need { padding: 2px 7px; border-radius: 999px; background: var(--sun-soft); color: #72510e; font-size: .68rem; font-weight: 900; }
.source-tag { display: inline-flex; align-items: center; width: fit-content; padding: 3px 7px; border-radius: 999px; background: var(--sage-soft); color: #3f5e49; font-size: .66rem; font-weight: 900; line-height: 1.4; }
.source-tag.confirm { background: var(--sun-soft); color: #72510e; }
.check-item .source-tag { margin: 2px 0 6px; }
.verdict-card .source-tag { margin-left: 7px; vertical-align: middle; }
.item-note { display: block; }
.progress-card { position: sticky; top: 96px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.progress-card h2 { margin-bottom: 8px; font-size: 1rem; }
.progress-score { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 10px; }
.progress-score strong { font-family: "ChosunGu", "조선굴림체", sans-serif; font-size: 2.15rem; }
.progress-track { height: 9px; border-radius: 999px; background: #e9e2da; overflow: hidden; }
.progress-bar { width: 0; height: 100%; background: var(--rose); transition: width .25s ease; }
.progress-help { margin: 15px 0; color: var(--muted); font-size: .8rem; }
.reset-button { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.reset-button:hover { background: var(--paper); color: var(--ink); }
.verdict-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-bottom: 80px; }
.verdict-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.verdict-card h2 { margin: 16px 0 8px; font-family: "ChosunGu", "조선굴림체", sans-serif; font-size: 1.45rem; }
.verdict-card p { color: var(--muted); }
.verdict { display: inline-flex; padding: 6px 10px; border-radius: 999px; font-size: .75rem; font-weight: 900; }
.verdict.must { background: var(--rose-soft); color: var(--rose-dark); }
.verdict.situational { background: var(--sage-soft); color: #3f5e49; }
.verdict.replace { background: #eee8f4; color: #5f4b78; }
.verdict.later { background: var(--sun-soft); color: #72510e; }
.verdict.skip { background: #ece9e5; color: #5f5851; }
.quick-rule { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .88rem; }
.quick-rule strong { color: var(--ink); }
.disclaimer { margin: 0 0 50px; padding: 20px 22px; border-left: 4px solid var(--sun); background: var(--sun-soft); color: #5f4b25; font-size: .9rem; }
.source-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -28px 0 40px; color: var(--muted); font-size: .78rem; }
.source-legend strong { margin-right: 4px; color: var(--ink); font-size: .8rem; }
.source-legend span { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 800; }
.source-legend span::before { content: ""; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--sage); }
.source-legend [data-source="confirm"]::before { background: var(--sun); }
.source-legend [data-source="experience"]::before { background: var(--rose); }
.source-state { flex-basis: 100%; margin: 4px 0 0; line-height: 1.55; }
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 100px; color: var(--muted); font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.mobile-nav { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .header-inner { min-height: 58px; padding: 0 20px; }
  .desktop-nav { display: none; }
  .hero { padding: 50px 0 40px; }
  .hero::before { width: 150px; height: 150px; right: -45px; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.6rem); }
  .hero-lead { font-size: 1rem; }
  .section { padding: 42px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .file-grid { display: grid; grid-template-columns: 1fr; }
  .file-card:nth-child(n) { grid-column: auto; min-height: 230px; padding: 23px; }
  .file-card h3 { margin-top: 44px; font-size: 1.62rem; }
  .note-strip { grid-template-columns: 1fr; gap: 14px; padding: 26px; }
  .page-hero { padding: 40px 0 24px; }
  .page-hero h1 { font-size: 2.55rem; }
  .checklist-layout { display: flex; flex-direction: column-reverse; gap: 24px; }
  .progress-card { position: static; width: 100%; padding: 18px; }
  .progress-card h2, .progress-help { display: none; }
  .progress-score { margin: 0 0 8px; }
  .progress-score strong { font-size: 1.45rem; }
  .check-item { padding: 16px 14px; }
  .verdict-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,253,249,.96); backdrop-filter: blur(16px); box-shadow: 0 -8px 30px rgba(60,48,36,.08); }
  .mobile-nav a { display: grid; place-items: center; min-height: 50px; color: var(--muted); text-decoration: none; font-size: .68rem; font-weight: 800; }
  .mobile-nav a::before { content: attr(data-icon); font-size: 1.1rem; line-height: 1.2; }
  .mobile-nav a[aria-current="page"] { color: var(--rose-dark); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .mobile-nav, .reset-button, .site-footer { display: none !important; } body { background: white; padding: 0; } .checklist-layout { display: block; } .progress-card { box-shadow: none; } .check-item { break-inside: avoid; box-shadow: none; } }
