/* SSOKSITE — 공개 사이트 · 고객 대시보드 공통 스타일 */
:root {
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --bg-2: #f8fafc;
  --brand: #4f46e5; --brand-2: #4338ca; --accent: #d4af37; --ok: #059669; --warn: #d97706; --bad: #dc2626;
  --radius: 14px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 800; letter-spacing: -.03em; font-size: 20px; color: var(--ink); }
.logo span { color: var(--brand); }
.nav { display: flex; gap: 20px; flex: 1; }
.nav a { color: var(--ink-2); font-size: 15px; }
.nav-right { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) { .nav { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; border-radius: 10px; padding: 11px 18px; text-decoration: none !important; transition: .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1e293b; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-lg { padding: 15px 26px; font-size: 17px; border-radius: 12px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* hero */
.hero { padding: 88px 0 72px; text-align: center; background: radial-gradient(1200px 400px at 50% -10%, #eef2ff 0, transparent 70%); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -.04em; margin: 0 auto 20px; max-width: 900px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), #9333ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--ink-2); max-width: 680px; margin: 0 auto 32px; }
.hero .note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); background: #eef2ff; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }

/* sections */
section.block { padding: 72px 0; }
section.alt { background: var(--bg-2); }
h2.title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 12px; text-align: center; }
p.sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; font-size: 18px; }
.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-2); }
.step-no { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }

/* pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan { position: relative; }
.plan.featured { border: 2px solid var(--brand); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { padding: 0; list-style: none; margin: 18px 0 22px; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.fine { font-size: 13px; color: var(--muted); }

/* forms */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.field .req { color: var(--bad); }
input[type=text], input[type=email], input[type=password], input[type=url], select, textarea {
  width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #c7d2fe; border-color: var(--brand); }
.row2 { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.alert-bad { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-info { background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 4px; }

/* page header */
.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -.03em; margin: 0 0 8px; }
.page-head p { color: var(--muted); font-size: 18px; margin: 0; }
.prose h2 { margin-top: 36px; font-size: 22px; }
.prose p, .prose li { color: var(--ink-2); }
.draft { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 10px 14px; border-radius: 10px; font-size: 14px; }

/* dashboard */
.dash { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 32px 0 64px; }
@media (max-width: 820px) { .dash { grid-template-columns: 1fr; } }
.side a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink-2); font-size: 15px; }
.side a.on, .side a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.side a.soon { color: #94a3b8; }
.side a.soon::after { content: " · soon"; font-size: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; color: var(--ink-2); white-space: nowrap; }
.pill.ok { background: #ecfdf5; color: #047857; } .pill.warn { background: #fffbeb; color: #b45309; }
.pill.bad { background: #fef2f2; color: #b91c1c; } .pill.run { background: #eef2ff; color: #4338ca; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 18px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; background: var(--bg-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--ink-2); }
.center { text-align: center; }
.mt0 { margin-top: 0; } .mt2 { margin-top: 24px; } .mb0 { margin-bottom: 0; }
.muted { color: var(--muted); }
