@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("/static/vendor/pretendard/PretendardVariable.woff2") format("woff2-variations");
}

:root {
  --brand-700: #0B7C68;
  --brand-600: #0D9E82;
  --brand-400: #3DD4B4;
  --brand-300: #49E3C3;
  --brand-tint: #ECFAF5;
  --ink-deep: #0B0F14;
  --dark-card: #141920;
  --dark-line: rgba(255, 255, 255, .08);
  --dark-text: #E2E8F0;
  --dark-muted: #8B9AB5;
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --text: #111827;
  --text-2: #374151;
  --muted: #6B7280;
  --line: #E5E7EB;
  --success: #10B981;
  --warning: #F59E0B;
  --shadow-sm: 0 1px 4px rgba(17, 24, 39, .05);
  --shadow-md: 0 4px 14px rgba(17, 24, 39, .08);
  --page-max: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

.shell { width: 100%; max-width: var(--page-max); margin: 0 auto; padding-inline: var(--gutter); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: #CBD5E1; background: #F9FAFB; }
.btn-outline-dark-surface { color: #fff; border-color: rgba(255, 255, 255, .28); background: transparent; }
.btn-outline-dark-surface:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .85rem; }

.site-header { background: var(--ink-deep); color: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--dark-line); }
.header-inner { height: 60px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 650; font-size: 1rem; letter-spacing: -.01em; }
.brand-mark { width: 20px; height: 20px; fill: var(--brand-300); }
.header-nav { display: flex; gap: 24px; font-size: .875rem; }
.header-nav a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.header-nav a:hover { color: #fff; }
.auth-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.account-name { color: rgba(255, 255, 255, .72); font-size: .85rem; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-login { color: #fff; text-decoration: none; font-size: .85rem; font-weight: 600; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px; }
.nav-login:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }

.hero { background: var(--ink-deep); color: #fff; padding: 88px 0 72px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge { display: inline-block; padding: 6px 12px; border: 1px solid var(--dark-line); border-radius: 999px; background: var(--dark-card); color: var(--dark-muted); font-size: .8rem; font-weight: 600; }
.hero h1 { margin-top: 24px; font-size: clamp(2.625rem, 7vw, 5rem); line-height: 1.12; letter-spacing: -.04em; font-weight: 800; }
.hero h1 span { color: var(--brand-300); }
.hero-lead { margin: 24px 0 0; max-width: 640px; color: var(--dark-muted); font-size: 1rem; line-height: 1.75; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.source-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.source-list li { padding: 4px 10px; border: 1px solid var(--dark-line); border-radius: 6px; color: var(--dark-muted); font-size: .8rem; font-weight: 600; }

.preview-card { width: 100%; max-width: 720px; margin-top: 56px; padding: 24px; text-align: left; background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 16px; }
.preview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--dark-line); }
.preview-label { color: var(--dark-muted); font-size: .8rem; font-weight: 600; }
.preview-head h2 { margin-top: 4px; color: #fff; font-size: 1.25rem; letter-spacing: -.02em; }
.preview-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.preview-tags span { padding: 3px 8px; border-radius: 6px; background: rgba(73, 227, 195, .1); color: var(--brand-300); font-size: .75rem; font-weight: 600; }
.preview-score { flex-shrink: 0; min-width: 76px; padding: 10px 12px; border: 1px solid var(--dark-line); border-radius: 12px; text-align: center; }
.preview-score strong { display: block; color: var(--brand-300); font-size: 1.75rem; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.preview-score span { color: var(--dark-muted); font-size: .75rem; font-weight: 600; }
.preview-steps { list-style: none; margin: 0; padding: 0; }
.preview-steps li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.step-no { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--dark-text); font-size: .8rem; font-weight: 700; }
.preview-steps b { display: block; color: var(--dark-text); font-size: .9rem; font-weight: 600; }
.preview-steps small { display: block; margin-top: 2px; color: var(--dark-muted); font-size: .8rem; }
.state { font-style: normal; padding: 3px 8px; border-radius: 6px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.state-done { background: rgba(16, 185, 129, .14); color: #34D399; }
.state-progress { background: rgba(245, 158, 11, .14); color: #FBBF24; }
.preview-note { margin: 14px 0 0; color: var(--dark-muted); font-size: .8rem; }

.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 28px 24px; display: grid; gap: 4px; }
.strip-grid > div + div { border-left: 1px solid var(--line); }
.strip-grid strong { font-size: .95rem; font-weight: 700; }
.strip-grid span { color: var(--muted); font-size: .85rem; }

.section { padding: 96px 0; scroll-margin-top: 60px; }
.section-white { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.section-head h2 span { color: var(--brand-600); }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.75; }

.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; display: flex; flex-direction: column; }
.feature-no { color: var(--brand-600); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.feature h3 { margin-top: 12px; font-size: 1.15rem; }
.feature p { margin: 10px 0 24px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.chip-list { list-style: none; margin: auto 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.chip-list li { padding: 4px 9px; border-radius: 6px; background: var(--brand-tint); color: var(--brand-700); font-size: .78rem; font-weight: 600; }

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.flow-step { position: relative; padding: 24px; display: grid; gap: 4px; }
.flow-step + .flow-step::before { content: ""; position: absolute; left: -21px; top: 37px; width: 20px; height: 1.5px; background: var(--line); }
.flow-no { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: .8rem; font-weight: 700; margin-bottom: 12px; }
.flow-step b { color: var(--brand-600); font-size: .8rem; font-weight: 700; }
.flow-step strong { font-size: 1rem; font-weight: 700; }
.flow-step small { color: var(--muted); font-size: .85rem; }
.flow-step.is-key { border-color: var(--brand-600); background: var(--brand-tint); box-shadow: none; }
.flow-step.is-key .flow-no { background: var(--brand-600); color: #fff; }

.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.data-item { padding: 24px; display: grid; gap: 6px; }
.data-item strong { font-size: 1rem; font-weight: 700; }
.data-item span { color: var(--muted); font-size: .85rem; line-height: 1.6; }

.closing { padding: 80px 0; }
.closing-card { padding: 56px 24px; text-align: center; border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg); }
.closing-card h2 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.closing-card h2 span { color: var(--brand-600); }
.closing-card p { margin: 14px 0 28px; color: var(--muted); font-size: .95rem; }

.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 40px 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer-brand { font-weight: 700; text-decoration: none; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--brand-600); }
.footer-legal { margin: 20px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.footer-legal a { text-decoration: none; }

.workspace-main { padding: 72px 0 96px; }
.workspace-card { max-width: 720px; margin: 0 auto; padding: 40px; }
.workspace-label { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--brand-tint); color: var(--brand-700); font-size: .8rem; font-weight: 600; }
.workspace-card h1 { margin-top: 16px; font-size: 1.75rem; letter-spacing: -.02em; }
.workspace-card p { margin: 12px 0 0; color: var(--text-2); font-size: .95rem; line-height: 1.75; }
.workspace-steps { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.workspace-steps li { padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font-size: .9rem; font-weight: 600; }
.workspace-steps li span { display: block; color: var(--brand-600); font-size: .8rem; font-weight: 700; }
.workspace-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .header-nav { display: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid > div:nth-child(3) { border-left: 0; }
  .strip-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .flow, .data-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step + .flow-step::before { display: none; }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  .header-inner { height: 56px; }
  .account-name { display: none; }
  .hero { padding: 64px 0 48px; }
  .hero-lead br { display: none; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .preview-card { margin-top: 40px; padding: 18px; }
  .preview-head h2 { font-size: 1.1rem; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > div { padding: 18px 0; }
  .strip-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .strip-grid > div:nth-child(-n+2) { border-bottom: 0; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .flow, .data-grid { grid-template-columns: 1fr; }
  .closing-card { padding: 40px 20px; }
  .closing-card .btn { width: 100%; }
  .workspace-main { padding: 40px 0 64px; }
  .workspace-card { padding: 24px; }
  .workspace-steps { grid-template-columns: 1fr; }
  .workspace-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
