/* wamong-web 공개 웹 전용 디자인 토큰. admin CSS 와 무관. .web- 접두어. */
:root {
  --web-bg: #fbfbfd;
  --web-fg: #1c1c1f;
  --web-muted: #6b6b76;
  --web-border: #e2e2e8;
  --web-accent: #3a4cd6;
  --web-accent-fg: #ffffff;
  --web-danger: #c63b3b;
  --web-card: #ffffff;
  --web-radius: 10px;
  --web-max: 880px;
}

* { box-sizing: border-box; }

.web-body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  background: var(--web-bg);
  color: var(--web-fg);
  line-height: 1.6;
}

a { color: var(--web-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 헤더 */
.web-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--web-border);
  background: var(--web-card);
}
.web-brand { font-weight: 700; font-size: 1.15rem; color: var(--web-fg); }
.web-nav { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.web-inline-form { display: inline; margin: 0; }
.web-link-btn {
  border: none; background: none; color: var(--web-accent);
  cursor: pointer; font: inherit; padding: 0;
}
.web-link-btn:hover { text-decoration: underline; }

/* 본문 */
.web-main { max-width: var(--web-max); margin: 0 auto; padding: 2rem 1.25rem 3rem; }

.web-hero { text-align: center; padding: 2.5rem 0 1.5rem; }
.web-hero h1 { font-size: 2.2rem; margin: 0 0 0.5rem; }
.web-hero p { color: var(--web-muted); font-size: 1.1rem; margin: 0; }

/* 섹션 카드 그리드 */
.web-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.web-card {
  display: block; background: var(--web-card); border: 1px solid var(--web-border);
  border-radius: var(--web-radius); padding: 1.25rem; color: inherit;
}
.web-card:hover { border-color: var(--web-accent); text-decoration: none; }
.web-card h3 { margin: 0 0 0.35rem; }
.web-card p { margin: 0; color: var(--web-muted); }

/* 일반 카드/폼 */
.web-panel {
  background: var(--web-card); border: 1px solid var(--web-border);
  border-radius: var(--web-radius); padding: 1.5rem; margin: 1rem 0;
}
.web-panel h1, .web-panel h2 { margin-top: 0; }

.web-form label { display: block; margin: 0.85rem 0 0.3rem; font-weight: 600; font-size: 0.95rem; }
.web-form input[type=text],
.web-form input[type=email],
.web-form input[type=password] {
  width: 100%; padding: 0.6rem 0.7rem; font: inherit;
  border: 1px solid var(--web-border); border-radius: 6px; background: #fff;
}
.web-form .web-field-err { color: var(--web-danger); font-size: 0.85rem; margin-top: 0.25rem; }
.web-form .web-check { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-weight: 400; }

.web-btn {
  display: inline-block; padding: 0.65rem 1.2rem; font: inherit; cursor: pointer;
  border: 1px solid var(--web-accent); border-radius: 6px;
  background: var(--web-accent); color: var(--web-accent-fg); margin-top: 1.2rem;
}
.web-btn:hover { text-decoration: none; opacity: 0.92; }
.web-btn-ghost { background: #fff; color: var(--web-accent); }

.web-alert {
  padding: 0.7rem 0.9rem; border-radius: 6px; margin: 0.5rem 0 1rem;
  background: #fdecec; color: var(--web-danger); border: 1px solid #f3c4c4;
}
.web-note {
  padding: 0.7rem 0.9rem; border-radius: 6px; margin: 0.5rem 0 1rem;
  background: #eef0fb; color: #2c388f; border: 1px solid #cfd5f3;
}
.web-muted { color: var(--web-muted); }

.web-meta-row { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--web-border); }
.web-meta-row:last-child { border-bottom: none; }
.web-meta-row .k { color: var(--web-muted); }

/* 푸터 */
.web-footer {
  max-width: var(--web-max); margin: 0 auto; padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--web-border); display: flex; gap: 1.2rem;
  color: var(--web-muted); font-size: 0.9rem;
}
