:root {
  color-scheme: light;
  --ink: #1f2f2d;
  --muted: #5f6d68;
  --line: #dfe5dd;
  --paper: #ffffff;
  --wash: #f5f7f2;
  --green: #3f7f5f;
  --mint: #d8eadf;
  --amber: #e2a340;
  --coral: #d95f52;
  --blue: #607db8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--wash);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 32px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand-mark { width: 18px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--green), var(--amber)); display: inline-block; }
nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 56px 6vw 44px;
}
.hero-copy { max-width: 780px; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-weight: 800; font-size: 13px; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(42px, 7vw, 82px); line-height: .98; }
h2 { margin: 0; font-size: 28px; line-height: 1.2; }
h3 { margin: 8px 0 6px; font-size: 17px; }
.lead { margin: 24px 0 0; color: var(--muted); font-size: 19px; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary, .secondary, button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}
.primary, button { background: var(--ink); color: white; }
.secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.demo-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.hero-visual { margin: 0; }
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(31, 47, 45, .16);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics article { background: var(--paper); padding: 22px 6vw; }
.metrics span { display: block; color: var(--muted); font-size: 13px; }
.metrics strong { display: block; margin-top: 6px; font-size: 28px; }
.section { padding: 72px 6vw; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.flow-grid, .question-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.flow-grid article, .question-grid p, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.flow-grid article { padding: 22px; }
.flow-grid b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
}
.flow-grid p, .question-grid p { color: var(--muted); margin: 0; }
.workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 72px 6vw;
  background: #edf2ee;
}
.panel { padding: 22px; min-width: 0; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mock-badge, .formula {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  background: var(--mint);
  border-radius: 999px;
  padding: 6px 10px;
}
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfa;
}
.wide, form button { grid-column: 1 / -1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 540px; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
th { color: var(--muted); font-size: 12px; }
td .small-button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #eef5ef;
  color: var(--green);
  border: 1px solid #c6dbc9;
}
.low { color: var(--coral); font-weight: 900; }
.ok { color: var(--green); font-weight: 900; }
.sheets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 32px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sheets p { color: var(--muted); max-width: 820px; }
.sheets ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sheets li { padding: 13px 14px; background: var(--wash); border: 1px solid var(--line); border-radius: 8px; }
.question-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.question-grid p { padding: 18px; min-height: 86px; }
@media (max-width: 900px) {
  .topbar { padding: 0 18px; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  h1 { font-size: 44px; }
  .metrics, .flow-grid, .workspace, .sheets, .question-grid { grid-template-columns: 1fr; }
  .metrics article { padding: 18px 24px; }
  .section, .workspace { padding: 48px 24px; }
  form { grid-template-columns: 1fr; }
  .panel-title { align-items: flex-start; flex-direction: column; }
}
