/* 캘린더스 웹사이트: 손그림 다이어리 느낌 (앱 시안 C와 같은 색·글꼴)
   글꼴은 언어마다 fonts/web/<언어>.css가 'Hand'(손글씨)와 'Sans'(본문)로 정한다 */
:root {
  --ink: #2b2b2e;
  --soft: #5f6066;
  --line: #b9babe;
  --paper: #fffefb;
  --sky: #bfd3ec;
  --apricot: #f6cfae;
  --mint: #cfe3d3;
  --lavender: #e5cce6;
  --pink: #f4c9d2;
  --lemon: #f7e3a6;
  --plum: #9a5c96;
  --link: #4a6fa5;
  --danger: #a3485a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Sans', system-ui, -apple-system, 'Hiragino Sans', 'PingFang TC', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
img { max-width: 100%; display: block; }
h1, h2, h3, .brand span, .hand { font-family: 'Hand', cursive; font-weight: 400; letter-spacing: var(--hand-track, 0); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 720px; }
.eyebrow { display: block; font-size: 13px; letter-spacing: .08em; color: var(--plum); font-weight: 700; margin: 0 0 6px; }
.mark { background: linear-gradient(transparent 55%, var(--c, var(--sky)) 55%); padding: 0 .12em; }
.lead { color: var(--soft); font-size: 18px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 254, 251, .92); backdrop-filter: blur(8px); border-bottom: 1.5px solid transparent; }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { flex: none; display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand span { font-size: 28px; line-height: 1; font-family: 'Brand', 'Hand', cursive; letter-spacing: var(--brand-track, 0); }
.brand b { font-weight: 400; color: var(--plum); }
.brand.small span { font-size: 22px; }
.brand.small img { width: 30px; height: 30px; }
.top nav { display: flex; gap: 18px; margin-left: auto; font-size: 15px; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.get { padding: 8px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--sky); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; border-radius: 14px 11px 15px 10px / 11px 15px 10px 14px; white-space: nowrap; }
.langs { position: relative; font-size: 14px; }
.langs summary { white-space: nowrap; list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px; color: var(--soft); padding: 6px 4px; }
.langs summary::-webkit-details-marker { display: none; }
.langs > div { position: absolute; right: 0; top: 36px; background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; padding: 6px; display: grid; min-width: 130px; box-shadow: 0 8px 24px rgba(43, 43, 46, .08); }
.langs > div a { padding: 6px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.langs > div a:hover { background: #f4f4f5; }
.langs > div a[aria-current] { font-weight: 700; background: var(--sky); }

/* 첫 화면 */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.12; margin: 6px 0 18px; }
.hero .lead { max-width: 520px; margin: 0 0 28px; }
.art { position: relative; display: flex; justify-content: center; }
.art .blob { position: absolute; width: 120%; left: -10%; top: 2%; }
.doodle { position: absolute; z-index: 2; }
.d1 { left: 6%; top: 8%; }
.d2 { right: 4%; top: 30%; }
.d3 { left: 10%; bottom: 14%; }
.d4 { position: static; margin: 0 auto 6px; display: block; }

.phone { position: relative; margin: 0; width: 100%; max-width: 300px; aspect-ratio: 390 / 844; border: 10px solid var(--ink); border-radius: 44px; overflow: hidden; background: #fff; box-shadow: 0 18px 50px rgba(43, 43, 46, .12); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.big { max-width: 330px; z-index: 1; transform: rotate(2deg); }

/* 스토어 단추 */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.15; }
.store small { display: block; font-size: 11px; font-weight: 400; opacity: .8; }
.store svg { flex: none; }
.store.soon { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 15px 12px 16px 11px / 12px 16px 11px 15px; }

/* 구역 공통 */
section { padding: 72px 0; }
section h2 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.2; margin: 0 0 32px; text-align: center; }
.sub { text-align: center; color: var(--soft); margin: -18px 0 36px; }

/* 이런 분들에게 */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; padding: 22px 20px; border: 2px solid var(--ink); border-radius: 20px 16px 22px 15px / 16px 22px 15px 20px; background: #fff; }
.card::before { content: ''; position: absolute; inset: auto 14px -10px auto; width: 70px; height: 26px; background: var(--c); border-radius: 50%; opacity: .7; filter: url(#wash); z-index: -1; }
.card h3 { font-size: 30px; margin: 2px 0 8px; }
.card p { margin: 0; color: var(--soft); font-size: 15.5px; }

/* 이렇게 써요 */
.how { background: #fff; border-top: 1.5px dashed var(--line); border-bottom: 1.5px dashed var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { position: relative; padding-top: 8px; }
.num { font-family: 'Hand', cursive; font-size: 54px; line-height: 1; color: #fff; -webkit-text-stroke: 1.6px var(--ink); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 28px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--soft); }

/* 화면 */
.shots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.shots li { text-align: center; }
.shots .phone { margin: 0 auto 16px; max-width: 240px; border-width: 8px; border-radius: 34px; }
.shots li:nth-child(odd) .phone { transform: rotate(-1.5deg); }
.shots li:nth-child(even) .phone { transform: rotate(1.5deg); }
.shots h3 { font-size: 24px; margin: 0 0 4px; }
.shots p { margin: 0; color: var(--soft); font-size: 15px; }
.facts { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); border-radius: 20px 16px 22px 15px / 16px 22px 15px 20px; background: #fff; }
.facts li { padding: 18px 20px; border-left: 1.5px dashed var(--line); }
.facts li:first-child { border-left: 0; }
.facts b { display: block; font-size: 14px; color: var(--plum); }
.facts span { font-size: 15.5px; }

/* 자주 묻는 질문 */
.faq details { border-bottom: 1.5px dashed var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 34px 14px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 8px; font-size: 26px; font-weight: 400; color: var(--plum); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: var(--soft); }
.faq .more { text-align: center; margin-top: 28px; color: var(--soft); }

/* 마지막 권유 */
.cta { text-align: center; padding: 88px 0 96px; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; left: 50%; top: 50%; width: 760px; height: 380px; transform: translate(-50%, -50%); background: var(--apricot); opacity: .45; border-radius: 50%; filter: url(#wash); z-index: -1; }
.cta h2 { margin-bottom: 12px; }
.cta .lead { margin: 0 0 28px; }
.cta .stores { justify-content: center; }

/* 바닥 */
.foot { border-top: 1.5px solid var(--ink); padding: 32px 0 40px; font-size: 14px; color: var(--soft); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot nav a { color: var(--soft); }
.foot p { margin: 0 0 0 auto; }

/* 지원·개인정보·계정 삭제 */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.2; margin: 0 0 14px; }
.doc h2 { font-size: 28px; text-align: left; margin: 40px 0 10px; }
.doc p { margin: 0 0 12px; }
.doc ol, .doc ul { padding-left: 22px; margin: 0 0 12px; }
.doc li { margin-bottom: 6px; }
.doc .box { border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px; margin: 12px 0; background: #fff; }
.doc .box p:last-child, .doc .box ol:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px dashed var(--line); }
.doc th { width: 34%; font-weight: 700; }
.doc .q { font-weight: 700; margin: 20px 0 4px; }
.doc .warn { color: var(--danger); }
.doc .date { margin-top: 40px; font-size: 14px; color: var(--soft); }
.hl-a { background: linear-gradient(transparent 55%, var(--apricot) 55%); }
.hl-m { background: linear-gradient(transparent 55%, var(--mint) 55%); }

/* 좁은 화면 */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .art { margin-top: 12px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1.5px dashed var(--line); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { display: none; }
  .langs { margin-left: auto; }
  .top .wrap { gap: 8px; padding: 0 14px; }
  .brand span { font-size: 24px; }
  .brand img { width: 32px; height: 32px; }
  .get { padding: 6px 10px; font-size: 13px; }
  .hero { padding-top: 32px; }
  .cards { grid-template-columns: 1fr; }
  .shots { gap: 18px; }
  .shots h3 { font-size: 20px; }
  .phone.big { max-width: 270px; }
  section { padding: 56px 0; }
  .foot p { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
