
:root {
  --bg: #FFFFFF; --soft: #F5F5F7; --ink: #1D1D1F; --sub: #6E6E73; --line: #D2D2D7;
  --ok: #248A3D; --kakao-bg: #B2C7D9; --kakao-yellow: #FEE500;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -0.015em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #0071E3; outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: .5px solid rgba(0,0,0,.12); }
.nav-in { max-width: 1024px; margin: 0 auto; height: 52px; padding: 0 20px; display: flex; align-items: center; gap: 22px; font-size: 14px; }
.brand { font-weight: 700; font-size: 16px; text-decoration: none; margin-right: auto; display: flex; align-items: center; gap: 8px; }
.brand i { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; font-style: normal; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.nav a:not(.brand):not(.pill) { text-decoration: none; color: #424245; }
.nav a:not(.brand):not(.pill):hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 16px; border-radius: 980px; background: var(--ink); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.pill.big { min-height: 52px; padding: 0 28px; font-size: 17px; }
.pill.light { background: var(--soft); color: var(--ink) !important; }
.link-more { color: var(--ink); font-weight: 600; text-decoration: none; }
.link-more::after { content: " ›"; }
@media (max-width: 560px) { .nav .hide-s { display: none; } .nav-in { gap: 16px; } }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 692px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--sub); margin: 0 0 10px; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.18; text-wrap: balance; }

/* home */
.hero { text-align: center; padding: 88px 20px 40px; }
.hero h1 { font-size: clamp(44px, 8vw, 80px); margin: 0; font-weight: 700; }
.hero p { font-size: clamp(19px, 2.4vw, 24px); color: var(--sub); margin: 18px auto 30px; max-width: 620px; line-height: 1.45; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero small { display: block; margin-top: 14px; color: var(--sub); font-size: 14px; }
.shot { max-width: 420px; margin: 56px auto 0; padding: 22px 16px 26px; border-radius: 36px; background: var(--kakao-bg); text-align: left; box-shadow: 0 30px 80px rgba(0,0,0,.14); }
.k-row { display: flex; gap: 8px; align-items: flex-start; }
.k-av { width: 36px; height: 36px; border-radius: 14px; background: #8FA6BB; color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.k-col { display: flex; flex-direction: column; gap: 6px; max-width: 82%; }
.k-name { font-size: 12px; color: #3E4F60; }
.k-b { background: #fff; color: #191919; border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: 15px; line-height: 1.5; }
.k-card { background: #fff; border-radius: 4px 14px 14px 14px; overflow: hidden; }
.k-card div { padding: 12px 14px; }
.k-card span { display: block; text-align: center; padding: 11px; border-top: 1px solid #ECECEC; font-size: 14px; }
.k-mine { align-self: flex-end; background: var(--kakao-yellow); border-radius: 14px 4px 14px 14px; padding: 9px 12px; font-size: 15px; margin-top: 12px; margin-left: auto; width: fit-content; }

.band { padding: 96px 0; }
.band.soft { background: var(--soft); }
.band h2 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 14px; text-align: center; }
.band .lead { text-align: center; color: var(--sub); font-size: 21px; margin: 0 auto 48px; max-width: 640px; line-height: 1.45; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs > div { border-radius: 28px; padding: 32px; background: #fff; }
.vs .now { background: var(--ink); color: #fff; }
.vs h3 { margin: 0 0 18px; font-size: 24px; }
.vs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 19px; }
.vs .now li::before { content: "✓"; color: #30D158; font-weight: 700; margin-right: 10px; }
.vs .later li::before { content: "✕"; color: var(--sub); margin-right: 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps > div { background: var(--soft); border-radius: 28px; padding: 30px; }
.steps > div::before { counter-increment: s; content: counter(s); display: flex; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 18px; }
.steps h3 { margin: 0 0 6px; font-size: 21px; }
.steps p { margin: 0; color: var(--sub); }
@media (max-width: 760px) { .vs, .steps { grid-template-columns: 1fr; } .band { padding: 72px 0; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 24px; background: #fff; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.band:not(.soft) .card { background: var(--soft); }
.card:hover { transform: scale(1.015); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.card .tag { font-size: 13px; font-weight: 600; color: var(--sub); }
.card b { font-size: 19px; line-height: 1.35; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--sub); font-size: 15px; line-height: 1.5; }
.center { text-align: center; margin-top: 36px; }

/* article */
.art-head { padding: 64px 0 8px; }
.art-head h1 { font-size: clamp(34px, 5.4vw, 48px); margin: 0 0 16px; }
.meta { color: var(--sub); font-size: 14px; }
.answer { font-size: 21px; line-height: 1.55; font-weight: 600; margin: 28px 0; }
.glance { background: var(--soft); border-radius: 20px; padding: 24px 26px; margin: 0 0 12px; }
.prose .glance h2 { font-size: 17px; margin: 0 0 10px; }
.glance ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose h2 { font-size: 28px; margin: 56px 0 14px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p, .prose li { color: #1D1D1F; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; }
.prose blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--ink); color: #424245; }
.prose pre { white-space: pre-wrap; background: var(--soft); border-radius: 14px; padding: 16px; font: inherit; font-size: 15px; }
.prevent { margin: 56px 0 0; padding: 32px; border-radius: 28px; background: var(--ink); color: #fff; }
.prevent h2 { margin: 0 0 12px !important; font-size: 26px !important; color: #fff; }
.prevent p, .prevent li { color: rgba(255,255,255,.86) !important; }
.prevent a { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.prevent .pill { background: #fff; color: var(--ink) !important; margin-top: 10px; text-decoration: none; }
.faq { margin-top: 56px; }
.faq h2 { font-size: 28px; margin: 0 0 8px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 300; color: var(--sub); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 18px; color: #424245; }
.sources { margin-top: 48px; font-size: 14px; color: var(--sub); }
.sources h2 { font-size: 15px; margin: 0 0 8px; color: var(--ink); }
.sources ul { padding-left: 18px; margin: 0; }
.disclaimer { font-size: 13px; color: var(--sub); margin-top: 24px; }
.crumb { font-size: 14px; color: var(--sub); }
.crumb a { text-decoration: none; }

/* free */
.dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dl > div { background: var(--soft); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.dl b { font-size: 21px; }
.dl p { margin: 0 0 10px; color: var(--sub); font-size: 15px; }
.dl .pill.light { background: #fff; }
.dl .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.tpl { background: var(--kakao-bg); border-radius: 24px; padding: 20px; margin: 14px 0 6px; }
.tpl .k-b { white-space: pre-wrap; margin-left: auto; background: var(--kakao-yellow); border-radius: 14px 4px 14px 14px; max-width: 100%; }
.copy { display: inline-flex; margin-top: 12px; min-height: 36px; padding: 0 16px; border: 0; border-radius: 980px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

footer { background: var(--soft); color: var(--sub); font-size: 13px; padding: 36px 0 48px; margin-top: 96px; line-height: 1.7; }
footer a { text-decoration: none; margin-right: 18px; color: #424245; }

.tool { max-width: 560px; margin: 0 auto; padding: 56px 20px 0; }
.tool h1 { font-size: clamp(36px, 7vw, 52px); margin: 0 0 12px; }
.tool .sub { font-size: 19px; color: var(--sub); margin: 0 0 32px; line-height: 1.5; }
.friend { display: none; margin: 0 0 24px; padding: 16px 18px; border-radius: 18px; background: var(--kakao-yellow); color: #191919; font-weight: 600; font-size: 17px; line-height: 1.45; }
.q { padding: 22px 0; border-top: 1px solid var(--line); }
.q label, .q .ql { display: block; font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--soft); font-size: 26px; color: var(--ink); cursor: pointer; }
.stepper output { min-width: 120px; text-align: center; font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.seg2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg2 button, .yn button { min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; }
.seg2 button.on, .yn button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.result { margin: 28px 0 0; padding: 32px 26px; border-radius: 28px; background: var(--ink); color: #fff; text-align: center; }
.result .lab { font-size: 16px; color: rgba(255,255,255,.7); }
.result .num { font-size: clamp(48px, 13vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 8px 0; font-variant-numeric: tabular-nums; }
.result .num.hot { color: #FF453A; }
.result p { margin: 6px 0 0; color: rgba(255,255,255,.82); font-size: 16px; }
.actions { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; }
.actions .pill { width: 100%; min-height: 56px; font-size: 17px; border: 0; cursor: pointer; font-family: inherit; }
.kakao-btn { background: var(--kakao-yellow) !important; color: #191919 !important; }
.note { font-size: 13px; color: var(--sub); margin-top: 14px; text-align: center; }
.tips { margin: 28px 0 0; padding: 24px; border-radius: 22px; background: var(--soft); }
.tips b { font-size: 18px; }
.tips ol { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.hidden { display: none !important; }
.toast2 { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px 20px; border-radius: 980px; background: rgba(29,29,31,.92); color: #fff; font-size: 15px; z-index: 30; }
