:root {
  --bg: #07131f;
  --bg-soft: #0c1c2a;
  --paper: #f4f7f8;
  --white: #ffffff;
  --ink: #10202b;
  --muted: #657580;
  --line: #d7e0e4;
  --cyan: #2fe6d0;
  --lime: #c6ff5e;
  --orange: #ff8f6b;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(4, 17, 27, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 14px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--lime); color: #07131f; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,19,31,.92); border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(16px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; color: var(--white); }
.brand span:last-child { display: grid; line-height: 1.05; }
.brand strong { color: #f03748; font-size: 22px; font-weight: 950; letter-spacing: .14em; }
.brand small { margin-top: 6px; color: #d6a0a6; font-size: 9px; letter-spacing: .22em; }
.keyword-red { color: #f03748 !important; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 10px 15px; border-radius: 10px; color: #b8c4cc; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); padding: 11px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.hero { overflow: hidden; color: var(--white); background: var(--bg); position: relative; }
.hero::before, .hero::after { display: none; }
.hero-grid { position: relative; z-index: 1; min-height: 590px; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 64px; padding: 78px 0; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 30px; height: 2px; background: var(--lime); }
.hero h1 { margin: 0; max-width: 750px; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.08; letter-spacing: -.055em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: #c4d0d7; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 21px; border-radius: 10px; font-size: 14px; font-weight: 850; }
.button-primary { background: var(--lime); color: #07131f; }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.hero-stats { display: flex; gap: 0; margin: 42px 0 0; }
.hero-stats div { min-width: 108px; padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-stats div:last-child { border: 0; margin: 0; }
.hero-stats dt { font-size: 18px; font-weight: 900; }
.hero-stats dd { margin: 2px 0 0; color: #8799a5; font-size: 12px; }

.signal-card { padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: var(--bg-soft); }
.signal-head { display: flex; align-items: center; justify-content: space-between; color: #9badb9; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.signal-head b { padding: 6px 9px; border-radius: 999px; color: var(--lime); background: rgba(198,255,94,.09); font-size: 9px; }
.signal-summary { display: grid; gap: 7px; margin: 24px 0; padding: 28px 20px; border-radius: 12px; background: rgba(47,230,208,.08); }
.signal-summary strong { color: var(--white); font-size: 23px; letter-spacing: -.02em; }
.signal-summary span { color: #93a5b1; font-size: 13px; }
.signal-card ol { list-style: none; margin: 0; padding: 0; }
.signal-card li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.signal-card li > span { color: var(--cyan); font-size: 11px; font-weight: 900; }
.signal-card li div { display: grid; }
.signal-card li strong { font-size: 14px; }
.signal-card li small { color: #8194a1; font-size: 11px; }
.signal-card li > b { color: #93a4af; font-size: 9px; letter-spacing: .12em; }

.section { padding: 105px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .guide-grid h2, .related-card h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.16; letter-spacing: -.04em; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); }
.section-kicker { color: #087f75; }
.centered { margin-left: auto; margin-right: auto; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); position: relative; }
.feature-card.featured { background: #dcfff9; border-color: #a8eee2; }
.feature-card > span { color: #087f75; font-size: 12px; font-weight: 900; }
.feature-card h3 { margin: 52px 0 12px; font-size: 23px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
.feature-card i { position: absolute; top: 25px; right: 25px; color: #9babb4; font-size: 10px; font-style: normal; letter-spacing: .14em; }

.section-ink { color: var(--white); background: var(--bg-soft); }
.guide-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.guide-grid > div > p:not(.section-kicker) { color: #a8b8c2; }
.text-link { display: inline-flex; gap: 15px; margin-top: 20px; color: var(--lime); font-weight: 850; }
.guide-steps { list-style: none; margin: 0; padding: 0; }
.guide-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.guide-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.guide-steps b { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(47,230,208,.4); border-radius: 50%; color: var(--cyan); }
.guide-steps strong { font-size: 18px; }
.guide-steps p { margin: 4px 0 0; color: #8fa1ad; font-size: 14px; }

.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related-card { min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 38px; border-radius: var(--radius); background: #d8fff8; position: relative; overflow: hidden; }
.related-card::after { display: none; }
.related-card.accent { background: #fff0ea; }
.related-card > span { margin-bottom: auto; color: #087f75; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.related-card h2 { max-width: 460px; font-size: 34px; }
.related-card p { max-width: 500px; color: #52636e; }
.related-card b { margin-top: 18px; font-size: 14px; }

.faq-section { background: #eaf0f2; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid #d1dadd; border-radius: 14px; background: var(--white); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: inline-block; width: 38px; color: #087f75; font-size: 11px; }
.faq-list details p { margin: 0; padding: 0 22px 22px 60px; color: var(--muted); }

.site-footer { color: #b9c6ce; background: #050e16; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 60px; padding: 70px 0 50px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid p { max-width: 430px; color: #80939f; font-size: 13px; }
.footer-grid nav { display: grid; align-content: start; gap: 10px; }
.footer-grid nav strong, .footer-grid > div > strong { color: var(--white); margin-bottom: 6px; }
.footer-grid nav a { color: #8da0ab; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); color: #6f818d; font-size: 12px; }

.breadcrumb-wrap { border-bottom: 1px solid var(--line); background: var(--white); }
.breadcrumbs { min-height: 48px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: #087f75; font-weight: 750; }

.article-hero { color: var(--white); background: var(--bg); }
.article-hero-inner { padding: 76px 0 72px; }
.article-hero h1 { max-width: 900px; margin: 0; font-size: clamp(39px, 5vw, 62px); line-height: 1.12; letter-spacing: -.05em; }
.article-hero-inner > p:not(.section-kicker) { max-width: 790px; margin: 25px 0 0; color: #b8c7d0; font-size: 17px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.article-meta span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; color: #9dafba; font-size: 11px; }

.article-section, .home-article-section { background: var(--paper); }
.article-layout, .home-article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 70px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 5px; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.toc strong { margin-bottom: 7px; font-size: 14px; }
.toc a { padding: 7px 8px; border-radius: 7px; color: var(--muted); font-size: 13px; }
.toc a:hover { color: #087f75; background: #edf7f6; }

.prose { min-width: 0; max-width: 790px; }
.prose h2 { scroll-margin-top: 105px; margin: 68px 0 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.25; letter-spacing: -.035em; }
.prose h2:first-of-type { margin-top: 42px; }
.prose h3 { margin: 0 0 6px; font-size: 18px; }
.prose p { margin: 0 0 18px; color: #4d5d67; font-size: 16px; }
.lead-paragraph { padding-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--ink) !important; font-size: 19px !important; line-height: 1.85; }

.insight-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.insight-strip div { display: grid; gap: 3px; padding: 17px; border-right: 1px solid var(--line); }
.insight-strip div:last-child { border-right: 0; }
.insight-strip strong { font-size: 12px; }
.insight-strip span { color: #087f75; font-size: 13px; font-weight: 800; }

.simple-list { display: grid; gap: 10px; margin: 28px 0; }
.simple-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.simple-list > div > span { color: #087f75; font-size: 12px; font-weight: 900; }
.simple-list p { margin-bottom: 0; font-size: 14px; }

.steps { list-style: none; display: grid; gap: 0; margin: 28px 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; color: #07131f; background: var(--cyan); font-size: 13px; font-weight: 900; }
.steps strong { display: block; margin-bottom: 5px; }
.steps p { margin: 0; font-size: 14px; }

.note-box { margin: 30px 0; padding: 22px; border-left: 4px solid #087f75; border-radius: 0 10px 10px 0; background: #e3f5f2; }
.note-box strong { display: block; margin-bottom: 5px; }
.note-box p { margin: 0; color: #3d5b5a; font-size: 14px; }

.comparison-table { margin: 28px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.table-row { display: grid; grid-template-columns: .8fr 1.15fr 1.15fr; border-top: 1px solid var(--line); }
.table-row:first-child { border-top: 0; }
.table-row > * { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--line); color: #4d5d67; font-size: 13px; }
.table-row > *:last-child { border-right: 0; }
.table-head { color: var(--white); background: var(--bg-soft); font-weight: 800; }
.table-head > * { color: var(--white); }

.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 55px 0; padding: 25px; border-radius: 12px; color: var(--white); background: var(--bg-soft); }
.inline-cta p { margin: 0; color: #b8c7d0; font-size: 14px; }
.inline-cta .button { flex: 0 0 auto; }
.article-faq { margin-top: 25px; }
.home-article-section { padding-top: 0; }
.home-prose h2:first-of-type { margin-top: 0; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; color: var(--white); background: var(--bg); }
.error-card { width: min(620px, 100%); padding: 42px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: var(--bg-soft); }
.error-card .brand { margin-bottom: 52px; }
.error-card h1 { margin: 0 0 18px; font-size: clamp(34px, 6vw, 52px); line-height: 1.15; letter-spacing: -.04em; }
.error-card > p:not(.section-kicker) { margin: 0 0 28px; color: #aabac4; }

@media (max-width: 900px) {
  .hero-grid, .guide-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-grid { padding: 75px 0; }
  .signal-card { max-width: 600px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout, .home-article-layout { grid-template-columns: 1fr; gap: 35px; }
  .toc { position: static; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .site-header { backdrop-filter: none; }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 68px; padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0b1b29; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .hero-grid { min-height: auto; padding: 58px 0 70px; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 43px); }
  .hero-lead { font-size: 16px; }
  .hero-stats div { min-width: 0; flex: 1; padding-right: 12px; margin-right: 12px; }
  .signal-card { padding: 20px; }
  .section { padding: 75px 0; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 300px; padding: 28px; }
  .article-hero-inner { padding: 58px 0; }
  .article-hero h1 { font-size: clamp(35px, 10.5vw, 40px); }
  .article-hero-inner > p:not(.section-kicker) { font-size: 15px; }
  .insight-strip { grid-template-columns: 1fr; }
  .insight-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .insight-strip div:last-child { border-bottom: 0; }
  .comparison-table { overflow-x: auto; }
  .table-row { min-width: 600px; }
  .inline-cta { align-items: flex-start; flex-direction: column; }
  .prose h2 { margin-top: 52px; }
  .lead-paragraph { font-size: 17px !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { display: block; }
}
