@font-face { font-family: "Pretendard Variable"; src: url("/fonts/PretendardVariable.woff2") format("woff2-variations"); font-weight: 45 920; font-style: normal; font-display: swap; }
:root {
  --bg: #fff; --fg: #1a1f2b; --muted: #5b6475; --line: #dfe3ea; --brand: #2b59ff; --brand-fg: #fff; --soft: #f5f7fb;
  --ok: #0b7a3b; --err: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11151d; --fg: #e8ebf2; --muted: #9aa3b5; --line: #2a3140; --brand: #6c8cff; --brand-fg: #0b0f18; --soft: #181d28; --ok: #4cc27f; --err: #ff8a80; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 "Pretendard Variable", Pretendard, system-ui, -apple-system, "Noto Sans KR", sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--brand); color: var(--brand-fg); }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--brand); }
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px max(16px, 5vw); border-bottom: 1px solid var(--line); }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; transition: color .15s cubic-bezier(.22,1,.36,1); }
.top nav a:hover { color: var(--fg); }
.brand { font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--fg); }
main { max-width: 1080px; margin: 0 auto; padding: 0 16px 64px; }
section { padding: 64px 0 0; }
.hero { padding-top: clamp(48px, 9vw, 112px); padding-bottom: 16px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.2; letter-spacing: -.03em; margin: 0 0 20px; }
.hero p { max-width: 38em; margin: 0 0 28px; color: var(--muted); font-size: 1.0625rem; }
.button { display: inline-block; padding: 10px 20px; border: 1px solid var(--brand); border-radius: 8px; background: var(--brand); color: var(--brand-fg); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s cubic-bezier(.22,1,.36,1), transform .15s cubic-bezier(.22,1,.36,1); }
.button:hover { background: color-mix(in srgb, var(--brand) 86%, #000); color: var(--brand-fg); }
.button:active { transform: translateY(1px); }
.button.secondary { background: transparent; color: var(--brand); }
.button.secondary:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.button:disabled { opacity: .6; cursor: default; }
.principles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.principles li { background: var(--soft); border-radius: 12px; padding: 20px; color: var(--muted); }
.principles strong { display: block; margin-bottom: 4px; color: var(--fg); }
h2 { margin: 0 0 8px; font-size: 1.625rem; letter-spacing: -.02em; }
.note { color: var(--muted); margin: 0 0 24px; font-size: .9rem; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 12px 32px -16px color-mix(in srgb, var(--brand) 45%, transparent); }
.card h3 { margin: 0; font-size: 1.25rem; }
.tagline { margin: 0; color: var(--muted); font-size: .9rem; }
.price { margin: 8px 0; }
.price strong { font-size: 1.875rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }
.limits { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .9rem; }
.limits dt { color: var(--muted); }
.limits dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.features { margin: 8px 0 16px; padding-left: 20px; flex: 1; font-size: .9rem; }
.card .button { text-align: center; }
form { display: grid; gap: 16px; max-width: 560px; }
.field { display: grid; gap: 4px; }
label small { color: var(--muted); font-weight: 400; }
input:not([type="checkbox"]), select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); font: inherit; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
input[type="checkbox"] { accent-color: var(--brand); }
#apply-status { min-height: 1.65em; margin: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.consent .note { margin: 4px 0 0; }
#apply-status.ok { color: var(--ok); }
#apply-status.error { color: var(--err); }
footer { text-align: center; padding: 24px; color: var(--muted); border-top: 1px solid var(--line); }

/* 서비스 소개 섹션 */
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.hero .audience { margin: 0; font-size: .9rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.steps li { border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.steps h3, .grid h3 { margin: 0 0 6px; font-size: 1.0625rem; }
.steps p, .grid p { margin: 0; color: var(--muted); font-size: .9375rem; }
.steps .no { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; background: var(--brand); color: var(--brand-fg); font-size: .875rem; font-weight: 700; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid article { background: var(--soft); border-radius: 12px; padding: 20px; }
.trust .note { margin: 20px 0 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; color: var(--muted); }
.hero p.cta { max-width: none; }

/* AI·기술 섹션 */
.flow { list-style: none; counter-reset: flow; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.flow li { counter-increment: flow; position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 16px 16px; }
.flow li::before { content: counter(flow); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-bottom: 8px; border-radius: 50%; background: var(--brand); color: var(--brand-fg); font-size: .8125rem; font-weight: 700; }
.flow strong { display: block; }
.flow span { color: var(--muted); font-size: .875rem; }
.stack { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .875rem; }

/* 도식 */
.dg { margin: 0 0 24px; overflow-x: auto; }
.dg svg { display: block; width: 100%; height: auto; color: var(--fg); font-family: inherit; }
.dg figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.dg figcaption code { font-size: .85em; }
.dg .n { fill: var(--soft); stroke: var(--line); stroke-width: 1.2; }
.dg .n.ai { fill: color-mix(in srgb, var(--brand) 9%, var(--bg)); stroke: var(--brand); stroke-width: 1.6; }
.dg .n.hu { fill: color-mix(in srgb, var(--ok) 9%, var(--bg)); stroke: var(--ok); stroke-width: 1.6; }
.dg .n.warn { fill: color-mix(in srgb, var(--err) 7%, var(--bg)); stroke: var(--err); stroke-dasharray: 5 3; }
.dg .n.dec { fill: var(--bg); stroke: var(--muted); stroke-width: 1.4; }
.dg .n.ext { fill: none; stroke: var(--muted); stroke-dasharray: 5 4; }
.dg .lane { fill: var(--soft); opacity: .55; }
.dg .t { font-size: 13px; font-weight: 700; fill: currentColor; }
.dg .s { font-size: 11px; fill: var(--muted); }
.dg .l { font-size: 11px; fill: var(--muted); }
.dg .a { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.dg .a.dash { stroke-dasharray: 5 4; }
.dg .badge { fill: var(--brand); }
.dg .bn { font-size: 11px; font-weight: 700; fill: var(--brand-fg); }
.more { margin: 20px 0 0; }
.more summary { cursor: pointer; font-weight: 600; margin-bottom: 12px; }
.dg-hint { display: none; margin: 0 0 6px; color: var(--muted); font-size: .8125rem; }
@media (max-width: 920px) { .dg-hint { display: block; } }
