:root {
  --bg: #fffdf8;
  --ink: #2d2a26;
  --muted: #6a6258;
  --line: #eadfce;
  --card: #ffffff;
  --primary: #b45309;
  --shadow: 0 12px 24px rgba(80, 60, 30, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  background: radial-gradient(circle at top, #fff7ea 0%, #fffdf8 45%);
  color: var(--ink);
  line-height: 1.7;
}
img { width: 100%; display: block; border-radius: 14px; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 253, 248, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.brand { font-weight: 800; }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 9px; }
.nav { display: flex; gap: 12px; font-size: 0.93rem; }
.nav a { color: var(--muted); }
.nav a.active, .nav a:hover { color: var(--primary); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 28px 18px 68px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.hero-copy, .card, .section, .f-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-copy { padding: 22px; }
.kicker { color: var(--primary); font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; }
h1,h2,h3 { margin: 0 0 10px; line-height: 1.28; }
h1 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.hero img { height: clamp(280px, 34vw, 460px); }

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btn { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 13px; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }

.strip { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.strip span { border: 1px solid #f1d5b2; background: #fff4e4; border-radius: 999px; text-align: center; padding: 7px 10px; font-size: 0.88rem; }

.grid { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { padding: 18px; }
.tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 10px; cursor: pointer; }
.tab.active { background: #fff1dd; border-color: #f2c48d; color: #7b3d00; }
.panel { display: none; color: var(--muted); margin: 0; }
.panel.active { display: block; }

.features { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.f-card { padding: 10px; }
.f-card img { height: 170px; margin-bottom: 8px; }
.f-card p { color: var(--muted); margin: 0; }

.section { margin-top: 16px; padding: 18px; }
.progress { height: 10px; background: #f6e8d3; border-radius: 999px; overflow: hidden; }
#progressBar { width: 0; height: 100%; background: linear-gradient(90deg,#b45309,#f59e0b); transition: width .3s ease; }
.muted { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 10px 0 0; }
.checklist li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fffdf9; }
.checklist li + li { margin-top: 8px; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: #fff; }
details + details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 600; }

.foot { text-align: center; color: var(--muted); padding: 20px; border-top: 1px solid var(--line); }
.top-btn {
  position: fixed; right: 16px; bottom: 16px; width: 40px; height: 40px; border: 0;
  border-radius: 999px; background: var(--primary); color: #fff; display: none; cursor: pointer;
}
.top-btn.show { display: block; }

.reveal { opacity: 0; transform: translateY(14px); transition: .45s; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .hero,.strip,.grid,.features { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; right: 16px; top: 54px; background: #fff;
    border: 1px solid var(--line); border-radius: 10px; padding: 10px; flex-direction: column;
  }
  .nav.open { display: flex; }
}
