:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #1d4ed8;
  --brand-soft: #eff6ff;
  --ok: #15803d;
  --ok-soft: #f0fdf4;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
}
* { box-sizing: border-box; font-family: 'Pretendard', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, sans-serif; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.top { background: #0f172a; color: #fff; padding: 16px 0; }
header.top .bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.brand-logo { font-weight: 800; font-size: 18px; letter-spacing: -0.3px; color: #fff; text-decoration: none; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #1e293b; color: #93c5fd; }
.hero { padding: 42px 0 24px; text-align: center; }
.hero h1 { font-size: 30px; margin: 10px 0; letter-spacing: -0.6px; }
.hero p { color: var(--muted); max-width: 700px; margin: 0 auto 18px; font-size: 16px; }
.seo-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.seo-links a { font-size: 13px; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04); margin-bottom: 22px; }
.grid2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
select, textarea, input { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 11px 12px; font-size: 14px; color: var(--ink); background: #fff; margin-bottom: 12px; }
textarea { resize: vertical; min-height: 180px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
button { border: none; border-radius: 8px; padding: 11px 18px; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-secondary { background: #e2e8f0; color: var(--ink); }
.btn-pro { background: #0f172a; color: #f8fafc; }
.score-box { text-align: center; padding: 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 14px; }
.score-num { font-size: 42px; font-weight: 900; line-height: 1.1; }
.grade-SAFE { color: var(--ok); background: var(--ok-soft); border-color: #bbf7d0; }
.grade-CAUTION { color: var(--warn); background: var(--warn-soft); border-color: #fde68a; }
.grade-DANGER { color: var(--danger); background: var(--danger-soft); border-color: #fecaca; }
.issue-item { border-left: 4px solid var(--danger); background: var(--danger-soft); padding: 10px 12px; border-radius: 6px; margin-bottom: 8px; font-size: 13px; }
.issue-item.warn { border-left-color: var(--warn); background: var(--warn-soft); }
.locked-box { border: 1px dashed #94a3b8; background: #f1f5f9; border-radius: 10px; padding: 16px; text-align: center; margin-top: 12px; }
.rewrite-out { background: #0f172a; color: #f8fafc; padding: 14px; border-radius: 8px; white-space: pre-wrap; font-size: 13px; margin-top: 10px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
@media (max-width: 800px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; }
.price-card.featured { border: 2px solid var(--brand); background: var(--brand-soft); }
.price-tag { font-size: 26px; font-weight: 800; margin: 8px 0; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; margin-top: 32px; font-size: 12px; color: var(--muted); }
