/* 1단계 웹 — 시니어 UX: 큰 글씨·눈에 보이는 버튼·스크롤바 */
:root {
  --bg: #f6f2ec;
  --card: #fffdf9;
  --brown: #5a4632;
  --gold: #b08d57;
  --accent: #c0392b;
  --text: #2f2a25;
  --muted: #7a6a58;
  --font-base: 18px;
}

* { box-sizing: border-box; }

html { font-size: var(--font-base); scroll-behavior: smooth; }

body {
  font-family: "Malgun Gothic", "맑은 고딕", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.7;
  overflow-y: scroll;
}

::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: #e8e0d6; }
::-webkit-scrollbar-thumb { background: #b08d57; border-radius: 7px; border: 2px solid #e8e0d6; }

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 0 18px rgba(0,0,0,.08);
  border: 1px solid #d9cbb6;
}

h1 {
  font-size: 1.6rem;
  color: var(--brown);
  text-align: center;
  margin: 0 0 8px;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

label {
  display: block;
  font-weight: bold;
  margin: 18px 0 8px;
  color: var(--brown);
  font-size: 1.05rem;
}

input[type="text"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.1rem;
  border: 2px solid #d9cbb6;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
}

textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.5;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.radio-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  margin: 0;
  padding: 12px 18px;
  border: 2px solid #d9cbb6;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}

.radio-row input:checked + span,
.radio-row label:has(input:checked) {
  border-color: var(--gold);
  background: #fdf3df;
}

.btn {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 18px 24px;
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  background: var(--brown);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn:hover { background: #4a3828; }

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover { background: #9a7848; }

.btn-accent {
  background: var(--accent);
}

.btn-accent:hover { background: #a93226; }

.step-box {
  background: #efe6d7;
  border: 2px solid #d9cbb6;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0;
}

.step-box h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--brown);
  border-left: 6px solid var(--gold);
  padding-left: 12px;
}

.step-num {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.price-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.price-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 16px;
  border: 2px solid #d9cbb6;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.price-item:has(input:checked) {
  border-color: var(--gold);
  background: #fdf3df;
}

.price-item input { width: 22px; height: 22px; }

.price-item .amt { font-size: 1.15rem; font-weight: bold; flex: 1; }

.price-item .badge {
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.price-item .blurb {
  width: 100%;
  padding-left: 34px;
  color: #7a6a58;
  font-size: 0.95rem;
  line-height: 1.5;
}

.price-item .delta {
  color: var(--accent);
  font-weight: bold;
  font-size: 1rem;
  width: 100%;
  padding-left: 34px;
}

.blur-wrap {
  position: relative;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
}

.blur-wrap .blur-content {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  max-height: 280px;
  overflow: hidden;
}

.blur-wrap .blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,253,249,.55);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--brown);
}

.report-frame {
  border: 2px solid #d9cbb6;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
}

.report-frame iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  display: block;
}

.note { color: var(--muted); font-size: 0.95rem; }

.mode-badge {
  text-align: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: bold;
  margin: 8px 0 4px;
}
.mode-badge.jeongtong {
  background: #fdf3df;
  border: 2px solid var(--gold);
  color: var(--brown);
}
.mode-badge.mvp {
  background: #fde8e0;
  border: 2px solid var(--accent);
  color: #6b3226;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th, .admin-table td {
  border: 1px solid #d9cbb6;
  padding: 10px;
  text-align: left;
}

.admin-table th { background: #efe6d7; }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.demo-card {
  display: block;
  background: #faf5ec;
  border: 2px solid #d9cbb6;
  border-radius: 12px;
  padding: 20px 18px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}

.demo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(176,141,87,.25);
}

.demo-name {
  display: block;
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--brown);
  margin-bottom: 6px;
}

.demo-meta {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.demo-go {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: bold;
}

.preview-form select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.05rem;
  border: 2px solid #d9cbb6;
  border-radius: 10px;
  margin-bottom: 16px;
  background: #fff;
}

@media (max-width: 600px) {
  :root { --font-base: 17px; }
  .card { padding: 22px 16px; }
  .demo-grid { grid-template-columns: 1fr; }
}
