:root {
  --yellow: #ffcc00;
  --yellow-soft: #fff6cc;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #ececec;
  --bg: #ffffff;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 상단 바 */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav__cta {
  font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff;
}

/* 첫 화면 */
.hero { background: linear-gradient(180deg, var(--yellow-soft), #fff); padding: 72px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; background: var(--yellow); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; height: 48px; padding: 0 20px;
  border-radius: 12px; font-weight: 700; font-size: 15px;
}
.store--soon { background: #fff; border: 1.5px dashed #c7c7cc; color: var(--muted); }
.hero__mascot { justify-self: center; width: min(320px, 80%); }

/* 주요 기능 */
.features { padding: 80px 0; }
.features h2, .notify h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 900; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; background: #fff;
}
.card img { height: 120px; width: auto; margin: 0 auto 16px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* 출시 알림 */
.notify { background: var(--yellow); padding: 72px 0; }
.notify__inner { text-align: center; }
.notify p { margin-top: 12px; }
.btn {
  display: inline-block; margin-top: 24px; padding: 14px 28px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 700; text-decoration: none;
}

/* 문의 이메일 */
.contact { max-width: 440px; margin: 24px auto 0; }
.contact__row { display: flex; gap: 8px; }
.contact__row input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px;
  border: none; border-radius: 999px; font: inherit; font-size: 16px;
}
.contact__row button {
  height: 48px; padding: 0 22px; border: none; border-radius: 999px;
  background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.contact__row button:disabled { opacity: 0.6; cursor: default; }
.contact__agree { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; cursor: pointer; }
.contact__agree input { width: 16px; height: 16px; }
.contact__terms { font-size: 12px; opacity: 0.75; margin-top: 6px; }
.contact__msg { min-height: 1.6em; margin-top: 8px; font-weight: 700; }

/* 하단 */
.footer { padding: 32px 0; border-top: 1px solid var(--line); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.muted { color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__contact { color: var(--muted); }

/* 문서 페이지 (약관·방침·계정 삭제) */
.nav__back { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); }
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(26px, 5vw, 34px); font-weight: 900; margin-bottom: 24px; }
.doc section { margin-top: 32px; }
.doc h2 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.doc p { font-size: 15px; color: #444; margin-bottom: 8px; }
.doc p.footer { color: var(--muted); font-size: 14px; margin-top: 24px; }
.doc ul, .doc ol { padding-left: 22px; margin: 8px 0 12px; font-size: 15px; color: #444; }
.doc li { margin-bottom: 4px; }
.doc li.sub { list-style: circle; margin-left: 20px; }
.doc a { color: #0a66c2; }
.doc .table { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc th { background: #fafafa; font-weight: 700; white-space: nowrap; }
.doc tr:last-child td { border-bottom: none; }

/* 화면 너비별 */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__mascot { grid-row: 1; width: 180px; }
  .cta { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
