/* Doki 소개 · 정책 페이지 (doki.vibecraft.uk 의 / · /terms · /privacy). 웹앱(/app)과 별개. */
:root {
  --bg: #FFF4F8;
  --surface: #FFFFFF;
  --alt: #FFE9F2;
  --ink: #241B26;
  --muted: #6E6170;
  --pink: #EC3F86;
  --pink-dark: #C92D6D;
  --line: #F4D9E5;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}
a { color: var(--pink-dark); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* 상단 바 */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255, 244, 248, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--pink); text-decoration: none; }
.topnav { display: flex; align-items: center; gap: 20px; }
.topnav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.topnav a.btn { color: #fff; }

/* 버튼 */
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; text-align: center; }
.btn-sm { padding: 8px 16px; font-size: 14px; background: var(--pink); color: #fff; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover, .btn-sm:hover { background: var(--pink-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--pink); }

/* 히어로 */
.hero { padding: 64px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 32px; }
.eyebrow { margin: 0 0 8px; color: var(--pink); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.hero h1 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 48px); line-height: 1.25; letter-spacing: -0.02em; }
.lead { margin: 0 0 24px; color: var(--muted); font-size: 18px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.hero-art { display: flex; justify-content: center; }

/* 섹션 */
.section { padding: 56px 0; }
.section-alt { background: var(--alt); }
.section h2 { margin: 0 0 24px; font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps strong { display: block; font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

.cta-band { text-align: center; }
.cta-band .cta { justify-content: center; }

/* 정책 문서 */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 30px; margin: 0 0 6px; }
.doc .date { color: var(--muted); margin: 0 0 20px; }
.doc .intro { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; }
.doc ul { padding-left: 20px; margin: 0; }
.doc li, .doc p { color: #3d3240; }

/* 푸터 */
.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; gap: 16px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 160px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .topnav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .grid, .grid-2, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .cta .btn { width: 100%; }
}
