/* 귀엽고 따뜻한 테마
   크림색 바탕, 따뜻한 파스텔, 둥근 제목 글꼴(Jua), 스티커처럼 톡 튀는 그림자,
   웃는 얼굴 종이 캐릭터를 더해요. 이 파일 링크만 지우면 이전 모습으로 돌아가요. */

:root {
  --c1: #f2668b; --c1-soft: #ffe3ea; --c1-text: #a8304f; --c1-on: #ffffff;
  --c2: #f7b53c; --c2-soft: #fff0cc; --c2-text: #8a5a00; --c2-on: #4a2e00;
  --c3: #3dbf9a; --c3-soft: #d9f5ea; --c3-text: #1c7259; --c3-on: #ffffff;
  --c4: #5aa9e6; --c4-soft: #e0f0fc; --c4-text: #23679c; --c4-on: #ffffff;
  --c5: #a57de8; --c5-soft: #f0e7ff; --c5-text: #6a44b5; --c5-on: #ffffff;

  --bg: #fff8ef;
  --card: #fffdf9;
  --soft: #fdeee2;
  --soft-2: #f5d8c2;
  --line: #f1dfcf;
  --accent: #f2668b;
  --accent-hover: #e4537a;
  --accent-text: #a8304f;
  --text: #4a3328;
  --text-2: #8a6d5e;
  --thumb-bg: #fffaf4;
  --sticker: #ecd6c4;
  --face: #4a3328;
  --blush: #ffb3c4;
  --font-cute: "Jua", "Noto Sans KR", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c1: #ff8fac; --c1-soft: #4a2731; --c1-text: #ffbfd0; --c1-on: #2e0c16;
    --c2: #ffcc66; --c2-soft: #47361a; --c2-text: #ffdc8f; --c2-on: #2e1d00;
    --c3: #6fdcb9; --c3-soft: #1d3f35; --c3-text: #9ceccf; --c3-on: #052a1f;
    --c4: #8cc6f2; --c4-soft: #1f3447; --c4-text: #b9dcf7; --c4-on: #0a2133;
    --c5: #c2a3f5; --c5-soft: #352a4f; --c5-text: #dacaff; --c5-on: #1c0f38;
    --bg: #1f1814; --card: #2a211c; --soft: #352a23; --soft-2: #4d3c31; --line: #41332b;
    --accent: #ff8fac; --accent-hover: #ffa6bd; --accent-text: #ffbfd0; --on-accent: #2e0c16;
    --text: #fbefe6; --text-2: #c4ab9c; --thumb-bg: #fffaf4;
    --sticker: #140f0c; --face: #fbefe6; --blush: #ffb3c4;
  }
}
:root[data-theme="dark"] {
  --c1: #ff8fac; --c1-soft: #4a2731; --c1-text: #ffbfd0; --c1-on: #2e0c16;
  --c2: #ffcc66; --c2-soft: #47361a; --c2-text: #ffdc8f; --c2-on: #2e1d00;
  --c3: #6fdcb9; --c3-soft: #1d3f35; --c3-text: #9ceccf; --c3-on: #052a1f;
  --c4: #8cc6f2; --c4-soft: #1f3447; --c4-text: #b9dcf7; --c4-on: #0a2133;
  --c5: #c2a3f5; --c5-soft: #352a4f; --c5-text: #dacaff; --c5-on: #1c0f38;
  --bg: #1f1814; --card: #2a211c; --soft: #352a23; --soft-2: #4d3c31; --line: #41332b;
  --accent: #ff8fac; --accent-hover: #ffa6bd; --accent-text: #ffbfd0; --on-accent: #2e0c16;
  --text: #fbefe6; --text-2: #c4ab9c; --thumb-bg: #fffaf4;
  --sticker: #140f0c; --face: #fbefe6; --blush: #ffb3c4;
}

/* ---------- 바탕: 은은한 물방울 무늬 ---------- */
body {
  background-color: var(--bg);
  background-image: radial-gradient(color-mix(in srgb, var(--soft-2) 70%, transparent) 1.3px, transparent 1.6px);
  background-size: 24px 24px;
}
.site-foot { background-color: var(--card); }

/* ---------- 둥근 글꼴 ---------- */
h1, h2, h3, .brand, .tab, .btn, .pill, .eyebrow, .step .lbl, .drop-title, .g-badge,
.method b, .summary, .area-head > span:first-child, .file-card .order, .page .tag,
.faq summary, .sitemap-title, .tips h3, .overlay-box p, .toast {
  font-family: var(--font-cute);
  font-weight: 400;
  letter-spacing: 0;
}
.hero h1 { font-size: clamp(38px, 6.5vw, 64px); line-height: 1.15; }
.tool-head h2, .sec-head h2 { font-size: clamp(26px, 4vw, 36px); }
.feature h3, .guide-card h3, .g-steps b { font-family: var(--font-cute); font-weight: 400; font-size: 18px; }
.g-steps b { font-size: 16px; }
.faq summary { font-size: 16px; }
.btn { font-size: 16px; }
.btn.sm { font-size: 14px; }
.btn.lg { font-size: 18px; }

/* ---------- 스티커 느낌: 둥근 모서리 + 아래로 톡 떨어지는 그림자 ---------- */
.card-area, .feature, .guide-card, .tips, .faq details, .step, .drop, .doc .toc, .doc .summary-box, .doc table {
  border-radius: 28px;
  box-shadow: 0 5px 0 var(--sticker);
}
.step { border-radius: 22px; }
.faq details { border-radius: 22px; }
.file-card, .page { border-radius: 20px; box-shadow: 0 3px 0 var(--sticker); }
.tabs { box-shadow: 0 4px 0 var(--sticker); }
.pill { box-shadow: 0 3px 0 var(--sticker); }
.drop { border-width: 3px; border-radius: 32px; }

.btn { border-radius: 999px; transition: transform .12s, box-shadow .12s, filter .15s, background .15s; }
.btn.primary { box-shadow: 0 5px 0 color-mix(in srgb, var(--c5) 55%, #3a1f3a); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 color-mix(in srgb, var(--c5) 55%, #3a1f3a); }
.btn.primary:active { transform: translateY(3px); box-shadow: 0 2px 0 color-mix(in srgb, var(--c5) 55%, #3a1f3a); }
.btn.ghost { box-shadow: 0 4px 0 var(--sticker); }
.btn.ghost:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sticker); }
.btn.sm.ghost { box-shadow: 0 3px 0 var(--sticker); }

/* 마우스를 올리면 통통 튀어요 */
.feature:hover, .guide-card:hover { transform: translateY(-4px) rotate(-.6deg); }
.feature:nth-child(even):hover { transform: translateY(-4px) rotate(.6deg); }
.feature, .guide-card { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), border-color .2s; }
.feature:hover .f-icon { animation: wiggle .5s ease; }
.f-icon { border-radius: 18px; width: 52px; height: 52px; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.08); } 50% { transform: rotate(10deg) scale(1.08); } 75% { transform: rotate(-5deg); } }

.drop-icon { animation: bob 2.4s ease-in-out infinite; box-shadow: 0 4px 0 color-mix(in srgb, var(--c5) 55%, #3a1f3a); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.drop:hover .drop-icon, .drop.over .drop-icon { animation: none; transform: rotate(90deg) scale(1.1); }

.brand-mark i { border-radius: 6px; }
.brand:hover .brand-mark { animation: wiggle .5s ease; }

/* ---------- 웃는 얼굴 종이 캐릭터 ---------- */
.hero-art .sheet, .hero-art .merged { border-radius: 22px; box-shadow: 0 6px 0 var(--sticker); }
.hero-art .sheet::before, .hero-art .merged::before {
  /* 눈 두 개 + 볼터치 두 개 */
  content: ""; position: absolute; left: 50%; bottom: 34px; width: 7px; height: 9px; margin-left: -14px;
  border-radius: 50%; background: var(--face);
  box-shadow: 21px 0 0 var(--face), -9px 9px 0 2px var(--blush), 30px 9px 0 2px var(--blush);
  animation: blink 4s infinite;
}
.hero-art .sheet::after, .hero-art .merged::after {
  /* 웃는 입 */
  content: ""; position: absolute; left: 50%; bottom: 22px; width: 12px; height: 7px; margin-left: -6px;
  border: 2.5px solid var(--face); border-top: 0; border-radius: 0 0 14px 14px;
}
.hero-art .s2::before { animation-delay: .4s; }
.hero-art .s3::before { animation-delay: .9s; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.hero-art .merged::after { width: 16px; height: 9px; margin-left: -8px; }

/* 반짝이를 별 모양으로 */
.spark { border-radius: 0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.spark.k1 { width: 18px; height: 18px; }
.spark.k2 { width: 14px; height: 14px; }
.spark.k3 { width: 12px; height: 12px; }

/* ---------- 작은 디테일 ---------- */
.hl::after { height: .36em; border-radius: 999px; }
.trust .dot { width: 9px; height: 9px; }
.step .num { width: 32px; height: 32px; font-family: var(--font-cute); font-size: 16px; }
.file-card .order { min-width: 26px; height: 26px; font-size: 14px; box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.file-card .remove { box-shadow: 0 2px 0 var(--sticker); }
.page .rot { box-shadow: 0 2px 0 var(--sticker); }
.method { border-radius: 20px; box-shadow: 0 3px 0 var(--sticker); }
.method-input input[type="text"], .method-input input[type="number"], .name-input { border-radius: 16px; border-width: 2px; }
.g-steps li::before { width: 32px; height: 32px; font-family: var(--font-cute); font-size: 16px; }
.overlay-box { border-radius: 28px; box-shadow: 0 6px 0 var(--sticker); }
.toast { border-radius: 999px; padding: 12px 22px; }
.menu a { font-family: var(--font-cute); font-weight: 400; font-size: 16px; }
@media (max-width: 720px) { .menu { border-radius: 24px; box-shadow: 0 6px 0 var(--sticker); } }

@media (prefers-reduced-motion: reduce) {
  .drop-icon, .hero-art .sheet::before, .hero-art .merged::before { animation: none !important; }
}
