:root {
    color-scheme: light;
    --brand: #143c3c;
    --accent: #b6925a;
    --accent-ink: #765522;
    --ink: #172221;
    --muted: #65706e;
    --line: rgba(23, 34, 33, .14);
    --cream: #f4f1eb;
    --mist: #edf2f1;
    --paper: #fff;
    --display: "Libre Caslon Text", "Big Caslon", Georgia, "Noto Serif KR", serif;
    --sans: "Apple SD Gothic Neo", Pretendard, "Noto Sans KR", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.72;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2f78c4; outline-offset: 4px; }
.page { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 10px 15px; color: #fff; background: #000; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.status-banner { position: relative; z-index: 120; padding: 10px 20px; color: #6c451b; background: #fff6e9; text-align: center; font-size: .85rem; font-weight: 700; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(23,34,33,.08); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--brand); text-decoration: none; font-weight: 800; }
.brand-logo { width: auto; max-width: 210px; height: 48px; object-fit: contain; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: var(--brand); font-family: var(--display); }
.header-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.header-nav > a { color: #34413f; text-decoration: none; font-size: .87rem; font-weight: 650; }
.header-nav .header-cta { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px; color: #fff; background: var(--brand); }

.hero-section { padding: 28px 0 0; background: linear-gradient(180deg, #f7f8f7, #fff); }
.hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); overflow: hidden; background: var(--cream); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 92px); }
.eyebrow, .section-kicker, .snapshot-kicker { margin: 0 0 18px; color: var(--accent-ink); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1 { max-width: 12ch; margin: 0; color: var(--brand); font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.08; letter-spacing: -.065em; text-wrap: balance; }
.public-basic-page:not(.is-detail-page) h1 { max-width: 14ch; font-size: clamp(2.55rem, 3.6vw, 3.6rem); }
.is-detail-page h1 { font-size: clamp(2.5rem, 4.3vw, 4.3rem); }
.answer-first { max-width: 620px; margin: 28px 0 0; color: #50605e; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.82; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid var(--brand); color: var(--brand); background: transparent; text-decoration: none; font-size: .9rem; font-weight: 750; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--brand); }
.button-secondary { background: rgba(255,255,255,.68); }
.button-light { border-color: #fff; color: var(--brand); background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 36px; color: #596664; font-size: .78rem; }
.trust-row span { position: relative; padding-left: 13px; }
.trust-row span::before { content: ""; position: absolute; top: .7em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.hero-visual { position: relative; min-height: 650px; overflow: hidden; background: #d9ddda; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(180deg, transparent, rgba(10,24,23,.64)); }
.snapshot { position: absolute; z-index: 2; right: 28px; bottom: 28px; left: 28px; padding: 26px 28px; color: #fff; border: 1px solid rgba(255,255,255,.38); background: rgba(19,40,38,.88); backdrop-filter: blur(16px); }
.snapshot-kicker { margin-bottom: 7px; color: #fff; }
.snapshot h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.snapshot-list { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.snapshot-list div { min-width: 0; padding: 0 16px; border-left: 1px solid rgba(255,255,255,.22); }
.snapshot-list div:first-child { padding-left: 0; border-left: 0; }
.snapshot-list dt { color: #fff; font-size: .7rem; }
.snapshot-list dd { margin: 5px 0 0; font-size: .86rem; font-weight: 700; }

.page-directory { display: flex; gap: 0; align-items: stretch; overflow-x: auto; border-bottom: 1px solid var(--line); }
.page-directory > * { flex: 0 0 auto; padding: 22px 24px; }
.directory-label { padding-left: 0; color: var(--accent-ink); font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.page-directory a { position: relative; color: #4a5755; text-decoration: none; font-size: .84rem; font-weight: 700; }
.page-directory a[aria-current="page"] { color: var(--brand); }
.page-directory a[aria-current="page"]::after { content: ""; position: absolute; right: 20px; bottom: -1px; left: 20px; height: 2px; background: var(--brand); }

.content-section { padding: clamp(90px, 10vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px,8vw,120px); align-items: end; }
.section-head h2, .qa-aside h2, .review-panel h2, .final-cta h2 { margin: 0; color: var(--brand); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.12; letter-spacing: -.06em; }
.section-intro { max-width: 610px; margin: 0; color: var(--muted); font-size: 1rem; }
.summary-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--ink); }
.summary-card { min-height: 150px; display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 22px; padding: 30px 20px 30px 0; border-bottom: 1px solid var(--line); }
.summary-card:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.summary-number { color: var(--accent-ink); font-family: var(--display); font-size: .78rem; letter-spacing: .1em; }
.summary-card p { margin: 0 0 10px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .08em; }
.summary-card strong { display: block; color: var(--brand); font-size: 1.12rem; line-height: 1.55; }
.summary-card a { text-underline-offset: 5px; text-decoration-thickness: 1px; }

.questions-section { background: var(--mist); }
.qa-layout { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: clamp(50px,8vw,120px); align-items: start; }
.qa-aside { position: sticky; top: 116px; }
.qa-aside > p:last-child { margin: 24px 0 0; color: var(--muted); }
.qa-list { border-top: 1px solid var(--ink); }
.qa-card { padding: 34px 0 38px; border-bottom: 1px solid rgba(23,34,33,.18); }
.question-number { margin: 0 0 12px; color: var(--accent-ink); font-family: var(--display); font-size: .76rem; font-weight: 700; letter-spacing: .12em; }
.qa-card h3 { margin: 0; color: var(--brand); font-size: clamp(1.3rem,2.4vw,1.8rem); line-height: 1.45; letter-spacing: -.035em; }
.direct-answer { margin: 18px 0 0; color: #425351; font-size: 1rem; line-height: 1.85; }
.answer-source { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 24px; color: #596664; font-size: .78rem; }
.answer-source a { color: var(--brand); font-weight: 750; text-underline-offset: 4px; }

.review-section { background: #fff; }
.review-panel { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); gap: 70px; padding: clamp(44px,7vw,90px); color: #fff; background: var(--brand); }
.review-panel .section-kicker { color: #fff; }
.review-panel h2 { color: #fff; }
.review-panel > div:first-child > p:last-child { max-width: 600px; margin: 24px 0 0; color: #fff; }
.review-dates { display: grid; align-content: center; }
.review-date { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.review-date span { color: #fff; font-size: .78rem; }
.review-date strong { font-family: var(--display); font-size: 1rem; letter-spacing: .04em; }

.final-cta { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 50px; padding: clamp(52px,8vw,100px); color: #fff; background: #252c2b; }
.final-cta .section-kicker { color: #cfb894; }
.final-cta h2 { color: #fff; }
.final-cta p { margin: 20px 0 0; color: rgba(255,255,255,.62); }
.site-footer { padding: 40px 0; color: rgba(255,255,255,.55); background: #141918; font-size: .78rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-inner strong { color: #fff; }
.footer-inner p { margin: 0; }

@media (max-width: 980px) {
    .page { width: min(100% - 36px, 1240px); }
    .header-nav > a:not(.header-cta) { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-visual { min-height: 520px; }
    .section-head, .qa-layout, .review-panel { grid-template-columns: 1fr; }
    .qa-aside { position: static; }
    .qa-aside h2 br { display: none; }
}

@media (max-width: 640px) {
    body { word-break: normal; }
    .page { width: min(100% - 24px, 1240px); }
    .header-inner { min-height: 66px; }
    .brand-logo { max-width: 158px; height: 40px; }
    .header-nav .header-cta { min-height: 38px; padding: 0 12px; font-size: .76rem; }
    .hero-section { padding-top: 12px; }
    .hero-copy { padding: 46px 24px; }
    h1 { max-width: none; font-size: clamp(2.4rem,12vw,3.5rem); }
    .public-basic-page:not(.is-detail-page) h1 { font-size: clamp(2.15rem,9vw,2.8rem); }
    .is-detail-page h1 { font-size: clamp(2.15rem,9.5vw,3rem); }
    .hero-actions, .hero-actions .button { width: 100%; }
    .hero-visual { min-height: 430px; }
    .snapshot { right: 14px; bottom: 14px; left: 14px; padding: 20px; }
    .snapshot-list { grid-template-columns: 1fr; }
    .snapshot-list div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
    .snapshot-list div:first-child { border-top: 0; }
    .page-directory > * { padding: 18px 14px; }
    .directory-label { padding-left: 0; }
    .content-section { padding: 78px 0; }
    .summary-grid { grid-template-columns: 1fr; }
    .summary-card, .summary-card:nth-child(even) { padding: 26px 0; border-left: 0; }
    .review-panel { gap: 38px; padding: 44px 24px; }
    .review-panel h2 br, .final-cta h2 br { display: none; }
    .review-date { align-items: flex-start; flex-direction: column; gap: 4px; }
    .final-cta { grid-template-columns: 1fr; padding: 46px 24px; }
    .final-cta .button { width: 100%; }
    .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

@media print {
    .site-header { position: static; }
    .hero { min-height: auto; }
    .hero-visual, .header-nav, .hero-actions { display: none; }
    .review-panel, .final-cta { color: #000; background: #fff; border: 1px solid #000; }
}
