@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --surface: #f8fafc;
  --green: var(--brand);
  --orange: var(--brand);
  --cream: var(--brand-soft);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.65 'Inter', 'Noto Sans KR', sans-serif; letter-spacing: -.015em; }
button, input { font: inherit; }
button { transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
button:not(:disabled):active { transform: translateY(1px); }
.hidden { display: none !important; }

.site-header { height: 72px; padding: 0 max(28px, calc((100vw - 1200px) / 2)); border-bottom: 1px solid rgba(226,232,240,.9); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 17px/1 'Inter', sans-serif; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; margin: 0; border-radius: 9px; background: var(--brand); color: #fff; font: 800 11px 'Inter', sans-serif; transform: none; box-shadow: 0 7px 16px rgba(37,99,235,.22); }
nav { gap: 32px; margin-left: 64px; }
nav a { position: relative; color: #475569; font-size: 13px; font-weight: 600; }
nav a:hover { color: var(--brand); }
.text-button { margin-right: 8px; color: #475569; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600; }
.text-button:hover { background: var(--surface); color: var(--ink); }
.nav-cta, .hero-cta, .primary-button { border: 1px solid var(--brand); border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 5px 14px rgba(37,99,235,.18); }
.nav-cta { padding: 10px 15px; }
.nav-cta:hover, .hero-cta:hover, .primary-button:hover { background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 8px 20px rgba(37,99,235,.25); }

.section { width: min(100%, 1200px); max-width: 1200px; padding: 96px 28px; }
.eyebrow { margin-bottom: 12px; color: var(--brand); font: 800 11px/1 'Inter', sans-serif; letter-spacing: .12em; }
.hero { display: grid; grid-template-columns: 1fr; align-items: center; min-height: 560px; padding-top: 82px; padding-bottom: 82px; text-align: center; }
.hero-copy { width: min(100%,820px); margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid #bfdbfe; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 700; }
.hero-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.hero h1 { margin: 24px 0 0; font: 800 clamp(42px, 5vw, 62px)/1.16 'Inter','Noto Sans KR',sans-serif; letter-spacing: -.055em; }
.hero h1 strong { color: var(--brand); }
.lead { margin: 24px 0 30px; color: #475569; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.hero-actions,.hero-trust { justify-content: center; }
.hero-cta { padding: 14px 20px; font-size: 14px; }
.hero-cta span, .primary-button span { margin-left: 18px; }
.secondary-cta { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: #334155; font-weight: 700; }
.secondary-cta:hover { border-color: #94a3b8; background: var(--surface); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 11px; font-weight: 600; }
.hero-trust span::first-letter { color: var(--brand); }
.hero-product { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 32px 80px rgba(15,23,42,.13); }
.hero-product::before { content: ''; position: absolute; inset: -28px -34px auto auto; width: 160px; height: 160px; border-radius: 50%; background: rgba(37,99,235,.08); filter: blur(2px); z-index: -1; }
.preview-section { display: grid; grid-template-columns: minmax(0,.85fr) minmax(420px,1fr); align-items: center; gap: 70px; padding-top: 76px; padding-bottom: 76px; }
.preview-intro h2 { margin: 0; font: 800 36px/1.32 'Inter','Noto Sans KR'; letter-spacing: -.045em; }
.preview-intro p { margin: 16px 0 0; color: var(--muted); line-height: 1.75; }
.preview-cta { margin-top: 22px; }
.proof-flow { display: grid; gap: 8px; padding-top: 18px; }
.proof-flow article { padding: 17px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.proof-flow article > span { display: block; margin-bottom: 7px; color: var(--brand); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.proof-flow blockquote { margin: 0; color: #334155; font-size: 12px; line-height: 1.65; }
.proof-flow article > b { font-size: 14px; }
.proof-flow article > p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.proof-arrow { height: 12px; color: #94a3b8; text-align: center; font-size: 13px; line-height: 12px; }
.proof-flow .proof-output { border-color: #bfdbfe; background: var(--brand-soft); }
.sample-label { display: inline-flex; margin: 10px 0 13px; padding: 5px 9px; border: 1px solid #bfdbfe; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 10px; font-weight: 800; }
.decision-preview { padding-bottom: 17px; }
.decision-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 16px; }
.decision-stats div { padding: 13px 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; text-align: center; }
.decision-stats span,.decision-stats strong { display: block; }
.decision-stats span { color: var(--muted); font-size: 9px; }
.decision-stats strong { margin-top: 4px; color: var(--ink); font: 800 17px 'Inter','Noto Sans KR'; }
.decision-list { display: grid; gap: 7px; margin-top: 8px; }
.decision-list article { padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.decision-list span,.decision-list b,.decision-list p { display: block; }
.decision-list span { color: var(--brand); font-size: 9px; font-weight: 800; }
.decision-list b { margin-top: 4px; font-size: 12px; }
.decision-list p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.sample-case { padding-top: 72px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.sample-case .section-intro { margin-bottom: 30px; }
.sample-case .sample-label { margin-bottom: 10px; }
.case-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.case-flow article { position: relative; min-height: 142px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.case-flow article:not(:last-child)::after { position: absolute; z-index: 1; top: 50%; right: -16px; width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--brand); content: '›'; font-weight: 800; line-height: 18px; text-align: center; }
.case-flow span,.case-flow strong,.case-flow small { display: block; }
.case-flow span { color: var(--brand); font-size: 10px; font-weight: 800; }
.case-flow strong { margin-top: 13px; font-size: 15px; line-height: 1.5; }
.case-flow small { margin-top: 7px; color: var(--muted); }
.proof-output strong { display: block; color: var(--ink); font-size: 17px; line-height: 1.5; }
.proof-output small { display: block; margin-top: 8px; color: var(--brand); font-size: 9px; font-weight: 700; }
.product-bar { display: flex; align-items: center; gap: 9px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.mini-logo { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: var(--brand); color: #fff; font-size: 8px; font-weight: 800; }
.product-bar b { flex: 1; font-size: 12px; }
.product-bar small { padding: 4px 8px; border-radius: 99px; background: #dcfce7; color: #15803d; font-size: 9px; font-weight: 700; }
.product-summary { margin: 18px 0; padding: 20px; border-radius: var(--radius); background: var(--brand); color: #fff; }
.product-summary span, .product-insight span, .product-copy > span { display: block; margin-bottom: 8px; opacity: .75; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.product-summary strong { font-size: 17px; line-height: 1.5; }
.product-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.product-stats div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.product-stats small { display: block; color: var(--muted); font-size: 9px; }
.product-stats b { display: block; margin-top: 3px; font-size: 20px; }
.product-insight { margin-top: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.product-insight span, .product-copy > span { color: var(--brand); opacity: 1; }
.product-insight b { font-size: 14px; }
.product-insight p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.product-copy { position: relative; margin-top: 10px; padding: 15px 66px 15px 16px; border-radius: 10px; background: var(--brand-soft); }
.product-copy p { margin: 0; font-size: 12px; font-weight: 700; }
.product-copy .mock-copy { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; padding: 6px 10px; border: 1px solid #bfdbfe; border-radius: 6px; background: #fff; color: var(--brand); font-size: 9px; font-weight: 700; opacity: 1; }
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); width: min(calc(100% - 56px),1144px); margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.value-strip div { padding: 23px 28px; border-right: 1px solid var(--line); }
.value-strip div:last-child { border: 0; }
.value-strip b, .value-strip span { display: block; }
.value-strip b { font-size: 18px; }
.value-strip span { margin-top: 2px; color: var(--muted); font-size: 11px; }

.app-section { min-height: 440px; padding-top: 88px; }
.dashboard-head { align-items: stretch; margin-bottom: 24px; }
.dashboard-head h2, .how h2, .plans h2, .section-heading h2, .result-top h2 { margin: 0; font: 800 32px/1.3 'Inter','Noto Sans KR',sans-serif; letter-spacing: -.04em; }
.dashboard-head h2 span { color: inherit; font-size: inherit; }
.dashboard-head p, .plans p, .section-heading p, .result-top p { margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.dashboard-head p span { color: #334155; font-weight: 700; }
.credit-box { width: 270px; padding: 20px; border: 1px solid #bfdbfe; border-radius: var(--radius); background: var(--brand-soft); }
.usage-top { display: flex; justify-content: space-between; align-items: center; }
.usage-top span { color: var(--brand); font-weight: 800; }
.credit-box button { float: none; margin: 0; color: var(--brand); font-weight: 700; text-decoration: none; }
.credit-box strong { display: block; margin: 10px 0 0; color: var(--ink); font: 800 28px 'Inter'; }
.credit-box strong em { margin: 0 6px; color: #94a3b8; font-style: normal; font-weight: 500; }
.credit-box small { color: var(--muted); font-size: 10px; }
.usage-progress { overflow: hidden; height: 7px; margin-top: 13px; border-radius: 999px; background: #dbeafe; }
.usage-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brand); transition: width .35s ease; }
.workspace-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.workspace-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.workspace-title h3 { margin: 7px 0 3px; font-size: 19px; }
.workspace-title p { margin: 0; color: var(--muted); font-size: 12px; }
.step-chip { color: var(--brand); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.format-guide { display: flex; gap: 6px; }
.format-guide span { padding: 6px 9px; border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 9px; font-weight: 700; }
.business-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.business-selector button { width: 100%; min-height: 66px; display: flex; flex-direction: column; align-items: flex-start; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-align: left; }
.business-selector button span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.business-selector button.active { border-color: #93c5fd; background: var(--brand-soft); box-shadow: inset 0 0 0 1px #93c5fd; }
.business-selector button.active b { color: var(--brand); }
.business-local-option { position: relative; min-width: 0; }
.business-local-option button.active { padding-right: 132px; }
.business-selector select { position: absolute; top: 50%; right: 12px; width: 112px; height: 32px; padding: 0 24px 0 10px; transform: translateY(-50%); border: 1px solid #93c5fd; border-radius: 7px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.input-tabs { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 10px; background: #f1f5f9; }
.input-tabs button { padding: 9px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; }
.input-tabs button.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.upload-card { max-width: none; padding: 46px 28px; border: 1.5px dashed #93c5fd; border-radius: var(--radius); background: #f8fbff; }
.upload-card.drag, .upload-card:hover { border-color: var(--brand); background: var(--brand-soft); }
.upload-icon { width: 46px; height: 46px; background: #fff; border: 1px solid #bfdbfe; color: var(--brand); box-shadow: var(--shadow-sm); font-size: 20px; }
.upload-card h2 { margin: 17px 0 5px; font-size: 16px; }
.upload-card p { color: var(--muted); font-size: 12px; }
.upload-card p button { color: var(--brand); }
.upload-note { margin-top: 24px; color: #64748b; font-size: 10px; }
.upload-note i { border-color: #cbd5e1; }
.column-select-panel { display: grid; grid-template-columns: 1fr minmax(180px,280px) auto; gap: 14px; align-items: center; margin-top: 14px; padding: 18px; border: 1px solid #bfdbfe; border-radius: var(--radius); background: var(--brand-soft); }
.column-select-panel b, .column-select-panel span { display: block; }
.column-select-panel b { font-size: 13px; }
.column-select-panel span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.column-select-panel select { width: 100%; padding: 10px 34px 10px 11px; border: 1px solid #bfdbfe; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.paste-input-panel { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.paste-input-panel > label { display: block; margin-bottom: 9px; color: var(--ink); font-size: 12px; font-weight: 800; }
.paste-input-panel textarea { display: block; width: 100%; min-height: 220px; padding: 16px; resize: vertical; border: 1px solid #cbd5e1; border-radius: var(--radius); background: #fff; color: var(--ink); line-height: 1.7; outline: none; }
.paste-input-panel textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.paste-input-panel textarea::placeholder { color: #94a3b8; }
.paste-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 14px; }
.paste-actions > span { color: var(--muted); font-size: 10px; }
.paste-actions > span b { color: var(--brand); }
.file-summary { margin-top: 14px; padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.file-type { padding: 12px 8px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); }
.file-summary .primary-button { padding: 12px 16px; }
.loading-panel { padding: 46px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.sparkle { color: var(--brand); }
.loading-panel h2 { margin: 10px 0 4px; font: 800 25px 'Inter','Noto Sans KR'; }
.loading-panel > p { margin: 0; color: var(--muted); font-size: 11px; }
.progress-list li.current { color: var(--brand); }

.how { width: 100%; max-width: none; padding-left: max(28px,calc((100vw - 1144px)/2)); padding-right: max(28px,calc((100vw - 1144px)/2)); background: var(--surface); }
.section-intro, .plans-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-intro > p { color: var(--muted); font-size: 13px; }
.steps { grid-template-columns: repeat(3,1fr); gap: 16px; }
.steps article { position: relative; min-height: 250px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.steps article > b { position: absolute; right: 24px; top: 22px; color: #cbd5e1; font: 700 13px 'Inter'; }
.step-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 18px; font-weight: 800; }
.steps h3 { margin: 28px 0 9px; font-size: 17px; }
.steps p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.plans { text-align: left; }
.plans-heading > div:first-child { max-width: 680px; }
.billing-note { display: flex; flex-direction: column; align-items: flex-end; }
.billing-note span { padding: 5px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 9px; font-weight: 800; }
.billing-note b { margin-top: 7px; color: var(--muted); font-size: 11px; }
.plan-grid { grid-template-columns: repeat(4,1fr); align-items: stretch; gap: 14px; margin-top: 34px; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.plan-card:hover { border-color: #bfdbfe; box-shadow: var(--shadow); }
.plan-card.current { border: 2px solid var(--brand); }
.plan-card.recommended { border-color: #93c5fd; }
.recommend-label { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: max-content; padding: 5px 11px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 9px; font-weight: 800; }
.plan-badge { margin: 0 0 12px; color: var(--brand); font-size: 9px; letter-spacing: .1em; }
.plan-card h3 { margin: 0 0 14px; color: var(--ink); font-size: 20px; }
.plan-fit { min-height: 38px; margin: -7px 0 13px !important; color: #334155 !important; font-size: 11px !important; font-weight: 700; }
.plan-price { min-height: 42px; }
.plan-price strong { font: 800 25px 'Inter','Noto Sans KR'; letter-spacing: -.04em; }
.plan-price small { margin-left: 4px; color: var(--muted); font-size: 10px; }
.plan-summary { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan-card ul { display: grid; gap: 11px; margin: 15px 0 24px; padding: 0; list-style: none; color: #475569; font-size: 11px; }
.plan-card li::before { content: '✓'; margin-right: 8px; color: var(--brand); font-weight: 800; }
.plan-card button { margin-top: auto; padding: 11px; border: 1px solid var(--brand); border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-weight: 700; }
.plan-card button:disabled { border-color: #e2e8f0; background: #f1f5f9; color: #94a3b8; }
.plan-card.current button:disabled { border-color: #bfdbfe; background: var(--brand-soft); color: var(--brand); }
.plan-trust { display: flex; justify-content: center; gap: 24px; margin-top: 25px; color: var(--muted); font-size: 10px; }
.analysis-unit { margin: 18px 0 0 !important; padding: 12px 15px; border: 1px solid #bfdbfe; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand-dark) !important; text-align: center; font-size: 11px !important; font-weight: 700; }
.local-preview-notice { grid-column: 1 / -1; padding: 28px; border: 1px solid #bfdbfe; border-radius: var(--radius); background: var(--brand-soft); text-align: center; }
.local-preview-notice b, .local-preview-notice span { display: block; }
.local-preview-notice b { font-size: 15px; }
.local-preview-notice span { margin: 7px 0 15px; color: var(--muted); font-size: 12px; }
.local-preview-notice a { display: inline-block; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; }

footer { padding: 30px max(28px,calc((100vw - 1144px)/2)); background: var(--surface); color: var(--muted); }
.footer-brand { margin-right: 10px; font-size: 14px; }
.footer-brand .brand-mark { width: 26px; height: 26px; font-size: 8px; }
footer a, footer button { color: var(--muted); }
.member-email { color: #475569; }
.history-list { gap: 10px; }
.history-item { padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.history-item:hover { border-color: #bfdbfe; background: #f8fbff; }
.outline-button { padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: #334155; font-weight: 700; }
.outline-button:hover { border-color: #93c5fd; color: var(--brand); }
.copy-button { border-color: #bfdbfe; border-radius: 7px; background: #fff; color: var(--brand); font-weight: 700; }
dialog { border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgba(15,23,42,.25); }
dialog::backdrop { background: rgba(15,23,42,.58); backdrop-filter: blur(3px); }
.auth-copy h2 { font: 800 26px 'Inter','Noto Sans KR'; }
.auth-copy+form input[type=email], .auth-copy+form input[type=password] { border-radius: var(--radius-sm); outline: none; }
.auth-copy+form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.check a, .legal a, .legal a:visited { color: var(--brand) !important; }
.toast { border-radius: var(--radius-sm); }
.legal { margin-top: 40px; padding: 54px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.legal h1 { font: 800 34px 'Inter','Noto Sans KR'; }
.legal h2 { color: var(--ink); }

/* Analysis results */
.results { padding-top: 76px; }
.result-top { align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.result-top h2 { font-size: 30px; }
.insight-banner { margin: 24px 0 18px; padding: 26px 28px; border-radius: var(--radius); background: var(--brand); box-shadow: 0 12px 28px rgba(37,99,235,.18); }
.insight-mark { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; }
.insight-banner span { font-weight: 700; letter-spacing: .04em; }
.insight-banner strong { font: 700 17px/1.65 'Inter','Noto Sans KR'; letter-spacing: -.025em; }
.insight-banner .copy-button { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); }
.result-section { margin-top: 18px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.section-title { margin-bottom: 24px; }
.section-title > div { gap: 13px; }
.section-title > div > span { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font: 800 10px 'Inter'; }
.section-title h3 { font: 800 20px/1.35 'Inter','Noto Sans KR'; letter-spacing: -.035em; }
.sentiment-total strong { color: var(--ink); font: 800 36px 'Inter'; letter-spacing: -.04em; }
.sentiment-bar { height: 10px; background: #e2e8f0; }
.sentiment-bar .positive, .sentiment-legend i.positive { background: var(--brand); }
.sentiment-bar .neutral, .sentiment-legend i.neutral { background: #94a3b8; }
.sentiment-bar .negative, .sentiment-legend i.negative { background: #ef4444; }
.sentiment-legend { color: var(--muted); }
.signal-list { gap: 12px; }
.signal-card { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.signal-card.positive { border-top: 1px solid var(--line); }
.signal-card.negative { border-top: 1px solid var(--line); }
.signal-rank { color: #94a3b8; font: 700 12px 'Inter'; }
.signal-head h4 { font-size: 15px; }
.signal-head b { color: var(--brand); font: 800 11px 'Inter'; }
.action-note { border-radius: 8px; background: var(--brand-soft); }
.negative .action-note { background: #fef2f2; }
.evidence { border-left-color: #93c5fd; border-radius: 0 7px 7px 0; background: #f8fafc; color: #475569; }
.priority-card { grid-template-columns: 105px 1fr auto; padding: 21px; border-radius: 10px; background: #fff; }
.priority-card h4 { font-size: 16px; }
.priority-card p span { color: var(--brand); }
.page-copy-grid { gap: 12px; }
.page-copy-card { min-height: 210px; padding: 24px; border-color: var(--line); border-radius: 10px; background: var(--surface); }
.page-copy-card.headline { background: var(--brand); }
.page-copy-card > span { color: var(--brand); font: 800 10px 'Inter'; }
.page-copy-card.headline > span { color: #dbeafe; }
.page-copy-card h4 { margin: 17px 0; font: 700 20px/1.55 'Inter','Noto Sans KR'; letter-spacing: -.025em; }
.benefit-list > div { border-color: var(--line); }
.faq-card { padding: 20px; border: 1px solid var(--line); border-radius: 9px; }
.faq-number { color: var(--brand); font: 800 13px 'Inter'; }
.keyword-strip { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.keyword-strip .keywords b { border: 1px solid var(--line); border-radius: 6px; }
.keyword-strip .keywords small { color: var(--brand); }
.locked-preview { border-color: #bfdbfe; border-radius: 10px; background: var(--brand-soft); }
.locked-preview .blur-lines i { background: #93c5fd; }
.locked-upgrade { border-radius: var(--radius); background: var(--brand); box-shadow: 0 16px 34px rgba(37,99,235,.2); }
.locked-upgrade span { color: #dbeafe; }
.locked-upgrade h3 { font: 800 20px 'Inter','Noto Sans KR'; }
.locked-upgrade p { color: #dbeafe; }
.locked-upgrade .primary-button { border-color: #fff; background: #fff; color: var(--brand); box-shadow: none; }
.conversion-lock { margin: 18px 0 26px; }
.result-bottom-upgrade { margin-top: 26px; }
.billing-management { padding-top: 70px; }
.billing-content { display: grid; gap: 12px; margin-top: 25px; }
.billing-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 27px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.billing-current { border-color: #bfdbfe; background: linear-gradient(135deg,#fff,#f8fbff); }
.billing-card span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.billing-card h3 { margin: 6px 0 4px; font-size: 20px; }
.billing-card p { margin: 0; color: var(--muted); font-size: 12px; }
.billing-actions { display: flex; gap: 8px; }
.danger-outline,.refund-button { padding: 10px 13px; border-radius: 7px; background: #fff; font-size: 11px; font-weight: 700; }
.danger-outline { border: 1px solid #fecaca; color: #b91c1c; }
.refund-button { border: 1px solid var(--line); color: #475569; }
.danger-outline:disabled,.refund-button:disabled { cursor: not-allowed; opacity: .48; }
.refund-state { display: flex; justify-content: space-between; gap: 18px; padding: 14px 17px; border-radius: 9px; background: #f8fafc; color: #64748b; font-size: 11px; }
.refund-state b { color: #334155; }
.account-management { padding-top: 70px; }
.password-card { display: grid; grid-template-columns: minmax(220px,1.2fr) minmax(180px,.8fr) minmax(180px,.8fr) auto; align-items: end; gap: 16px; margin-top: 25px; padding: 25px 27px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.password-card h3 { margin: 0 0 7px; font-size: 18px; }
.password-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.password-card label { color: #334155; font-size: 11px; font-weight: 700; }
.password-card input { width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font: inherit; }
.password-card input:focus { outline: 2px solid #bfdbfe; border-color: var(--brand); }
.password-card .password-feedback { grid-column: 2 / 4; min-height: 16px; }
.password-card .password-feedback p { min-height: 16px; }
.password-card .auth-error { color: #b91c1c; }
.password-card .auth-success { color: #15803d; font-weight: 700; }
.password-card .primary-button { white-space: nowrap; }
.mypage { min-height: calc(100vh - 140px); padding-top: 72px; }
.mypage-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.mypage-head h1 { margin: 0; font: 800 38px/1.25 'Inter','Noto Sans KR'; letter-spacing: -.045em; }
.mypage-head p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.mypage-panel { padding: 52px 0; border-bottom: 1px solid var(--line); }
.mypage-view .home-flow { display: none !important; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-product { width: min(100%, 620px); }
  .preview-section { grid-template-columns: 1fr; gap: 40px; }
  .preview-section .hero-product { margin: 0 auto; }
  .case-flow { grid-template-columns: repeat(2,1fr); }
  .case-flow article:nth-child(2)::after { display: none; }
  .plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .plan-card { min-width: 0; padding: 17px 14px; }
  .plan-card h3 { font-size: 17px; }
  .plan-price strong { font-size: 20px; }
  .plan-card ul { font-size: 10px; }
}

@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 16px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 29px; height: 29px; }
  #nav-auth .text-button { display: none; }
  #nav-auth .account-nav { display: inline-flex; margin-right: 2px; padding: 8px 4px; font-size: 10px; }
  #nav-auth .nav-logout { display: inline-flex; margin-right: 4px; padding: 8px 6px; font-size: 10px; }
  #nav-auth .member-email { display: none; }
  .nav-cta { padding: 9px 11px; font-size: 11px; }
  .section { padding: 68px 18px; }
  .password-card { grid-template-columns: 1fr; align-items: stretch; padding: 20px; }
  .password-card .password-feedback { grid-column: auto; }
  .mypage-head { align-items: flex-start; flex-direction: column; }
  .hero { min-height: auto; padding-top: 58px; padding-bottom: 58px; }
  .hero h1 { margin-top: 20px; font-size: 38px; line-height: 1.22; }
  .lead { font-size: 15px; }
  .lead br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions button { width: 100%; }
  .hero-trust { display: grid; gap: 7px; }
  .hero-product { padding: 15px; border-radius: 16px; }
  .preview-cta { width: 100%; }
  .decision-stats { grid-template-columns: repeat(3,1fr); }
  .case-flow { grid-template-columns: 1fr; }
  .case-flow article { min-height: 0; }
  .case-flow article::after { display: none; }
  .product-stats { gap: 5px; }
  .product-stats div { padding: 10px; }
  .product-summary { padding: 16px; }
  .value-strip { grid-template-columns: repeat(2,1fr); width: calc(100% - 36px); }
  .value-strip div { padding: 17px; border-bottom: 1px solid var(--line); }
  .value-strip div:nth-child(2) { border-right: 0; }
  .value-strip div:nth-child(3), .value-strip div:nth-child(4) { border-bottom: 0; }
  .dashboard-head { gap: 20px; }
  .credit-box { width: 100%; }
  .workspace-card { padding: 16px; }
  .workspace-title, .section-intro, .plans-heading { align-items: flex-start; flex-direction: column; }
  .format-guide { flex-wrap: wrap; }
  .business-selector { grid-template-columns: 1fr; }
  .input-tabs { display: grid; grid-template-columns: repeat(3,1fr); width: 100%; }
  .input-tabs button { padding: 9px 7px; font-size: 10px; }
  .upload-card { padding: 36px 14px; }
  .upload-note { align-items: flex-start; flex-direction: column; gap: 6px; }
  .upload-note i { display: none; }
  .column-select-panel { grid-template-columns: 1fr; }
  .paste-actions { align-items: stretch; flex-direction: column; }
  .paste-actions .primary-button { width: 100%; }
  .file-summary { flex-direction: column; }
  .file-summary .primary-button { width: 100%; margin: 12px 0 0; }
  .steps, .plan-grid { grid-template-columns: 1fr; }
  .billing-note { align-items: flex-start; }
  .billing-card { align-items: flex-start; flex-direction: column; padding: 20px; }
  .billing-actions { width: 100%; flex-direction: column; }
  .billing-actions button,.refund-button { width: 100%; }
  .refund-state { flex-direction: column; gap: 4px; }
  .plan-card { min-height: auto; }
  .plan-trust { align-items: center; flex-direction: column; gap: 6px; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  .footer-brand { width: 100%; }
  footer button { margin-left: 0; }
  .legal { margin: 18px; padding: 28px 20px; }
}
