/* 앱 색(src/lib/colors.ts)과 같은 값 */
:root {
  color-scheme: light;
  --card-top: #FDF0DE;
  --card-bottom: #F6BE82;
  --text: #30352F;
  --muted: #665D55;
  --accent: #E5560A;
  --surface: #FFFCF7;
  --cream: #FFFCF5;
  --border: #EADFD2;
  --taken: #0E8A4A;
  --shadow: 0 8px 16px rgba(190, 140, 60, .16), 0 1px 2px rgba(120, 80, 40, .14);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
}
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

/* 머리줄 */
.top { padding: 20px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }

/* 첫 화면 카드 */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 8px;
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
  border-radius: 28px; padding: 40px 40px 0; box-shadow: var(--shadow); overflow: hidden;
}
.hero .copy { padding-bottom: 40px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); background: rgba(255, 255, 255, .6); padding: 4px 12px; border-radius: 99px; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.25; margin: 16px 0 12px; }
.hero p { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.soon { display: inline-block; background: var(--text); color: #fff; font-weight: 600; padding: 12px 20px; border-radius: 16px; }
.hero .duck { width: 100%; height: auto; max-width: 320px; justify-self: center; align-self: end; display: block; }

/* 기능 카드 */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
.feature { background: var(--cream); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.feature h2 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--taken); margin-right: 8px; vertical-align: middle; }

/* 문서 페이지 */
.doc { background: var(--cream); border: 1px solid var(--border); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); margin-bottom: 32px; }
.doc h1 { font-size: 30px; margin: 0 0 16px; }
.doc h2 { font-size: 18px; margin: 32px 0 8px; }
.doc .date { color: var(--muted); margin-top: 32px; }

/* 바닥 */
footer { padding: 24px 16px 48px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer nav a { color: var(--text); font-weight: 600; text-decoration: none; }
footer p { margin: 4px 0; }

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; padding: 32px 24px 0; text-align: center; }
  .hero .copy { padding-bottom: 8px; }
  .hero .duck { max-width: 220px; }
  .features { grid-template-columns: 1fr; }
  .doc { padding: 28px 20px; }
}
