/* Design Studio. 색은 settings.json → layouts/base.html 의 CSS 변수. */
* { box-sizing: border-box; }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.muted { color: #6b7280; }
.preview-ribbon { background: #ffd400; color: #3c3200; font-size: 13px; font-weight: 700; text-align: center; padding: 4px; }

.header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 94%); backdrop-filter: blur(8px); border-bottom: 1px solid #ececf0; }
.header-row { display: flex; align-items: center; gap: 32px; height: 70px; }
.brand { font-weight: 900; font-size: 22px; letter-spacing: -0.03em; }
.gnb { display: flex; gap: 26px; flex: 1; }
.gnb a { font-weight: 600; color: #374151; }
.gnb a:hover { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; border: 2px solid var(--primary); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-line { background: transparent; color: var(--primary); }
.btn:hover { filter: brightness(1.08); }

.hero { padding: 88px 0 56px; }
.eyebrow { display: inline-block; font-weight: 800; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.18; letter-spacing: -0.04em; margin: 0 0 18px; }
.lead { font-size: 18px; color: #4b5563; max-width: 640px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 16px; margin: 52px 0 0; }
.stats div { border-top: 2px solid var(--primary); padding-top: 12px; }
.stats dt { color: #6b7280; font-size: 14px; }
.stats dd { margin: 2px 0 0; font-size: 34px; font-weight: 900; letter-spacing: -0.03em; }

.section { padding: 72px 0; }
.section.soft { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(24px, 3.2vw, 36px); letter-spacing: -0.03em; }
.section-head p { margin: 0; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1px solid #d1d5db; background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.filters button[aria-selected="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pf[hidden] { display: none; }
.pf-thumb { aspect-ratio: 4 / 3; border-radius: 16px; display: grid; place-items: center; color: rgb(255 255 255 / 85%); font-weight: 800; font-size: 20px; overflow: hidden; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-body { padding: 14px 4px 0; }
.pf-body small { color: var(--accent); font-weight: 700; }
.pf-body h3 { margin: 2px 0 8px; font-size: 19px; }
.pf-body p { margin: 2px 0; font-size: 14px; color: #4b5563; }
.pf-body b { color: var(--text); margin-right: 6px; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pkg { background: #fff; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 6px; border: 1px solid #ececf0; }
.pkg.quote { background: var(--primary); color: #fff; }
.pkg.quote .btn-line { color: #fff; border-color: #fff; }
.pkg .tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--accent); }
.pkg.quote .tag { background: rgb(255 255 255 / 15%); color: #fff; }
.pkg h3 { margin: 6px 0 0; font-size: 20px; }
.pkg p { margin: 0; color: inherit; opacity: .75; font-size: 15px; }
.pkg .price { font-size: 26px; font-weight: 900; margin: 10px 0 14px; letter-spacing: -0.02em; }
.pkg .price small { font-size: 16px; font-weight: 600; opacity: .6; }
.pkg .btn { margin-top: auto; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plain b { font-size: 19px; }
.plain p { color: #4b5563; margin: 6px 0 0; }
.review { margin: 0; background: #fff; border-radius: 18px; padding: 26px; }
.review blockquote { margin: 0 0 14px; font-size: 16px; }
.review figcaption { color: #6b7280; font-size: 14px; font-weight: 600; }
.faq { border-bottom: 1px solid #e5e7eb; padding: 18px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: #4b5563; margin: 10px 0 0; }

.cta { background: var(--primary); color: #fff; border-radius: 24px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 4px; }
.cta p { margin: 0; opacity: .7; }
.placeholder { margin-top: 24px; border: 2px dashed #d1d5db; border-radius: 18px; padding: 36px; text-align: center; background: var(--surface); }

.footer { border-top: 1px solid #ececf0; padding: 36px 0 44px; font-size: 14px; color: #4b5563; }
.footer p { margin: 6px 0 0; }
.powered { color: #9ca3af; font-size: 12px; margin-top: 16px !important; }

@media (max-width: 900px) {
  .pf-grid, .pkg-grid, .three { grid-template-columns: 1fr 1fr; }
  .gnb { display: none; }
}
@media (max-width: 600px) {
  .pf-grid, .pkg-grid, .three, .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}
