/* 까치웍스 — 디자인 템플릿(하늘빛 그라데이션 + 유리 카드 + 파란 포인트)을 웹으로 옮긴 것 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --ink: #111318;
  --ink-soft: #4b5262;
  --ink-faint: #8a91a1;
  --blue: #0a66ff;
  --blue-deep: #0050d8;
  --blue-tint: #e8f0ff;
  --bg: #f4f7fd;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.95);
  --shadow: 0 10px 40px rgba(40, 90, 200, 0.10);
  --radius-lg: 32px;
  --radius: 24px;
  --todo: #fff3a3;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-x: hidden;
}

/* 템플릿의 번지는 파란 빛 */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
body::before { width: 620px; height: 620px; top: -220px; left: -200px; background: rgba(120, 170, 255, 0.45); }
body::after { width: 560px; height: 560px; bottom: -200px; right: -160px; background: rgba(110, 160, 255, 0.40); }

a { color: var(--blue); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.blue { color: var(--blue); }

/* ── 유리 카드 ── */
.glass {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(236, 244, 255, 0.70));
  border: 1.5px solid var(--glass-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.callout {
  background: linear-gradient(150deg, #1a73ff, var(--blue-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(10, 102, 255, 0.28);
}

/* 흰 알약 라벨 */
.pill {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(40, 90, 200, 0.08);
}

/* ── 상단 ── */
.top { position: sticky; top: 0; z-index: 20; padding: 14px 0; }
.top .bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 18px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.logo img { height: 30px; width: auto; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.top nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.8); }
.top nav a.btn-sm { background: var(--blue); color: #fff; }

/* ── 버튼 ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(10, 102, 255, 0.30); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(40, 90, 200, 0.10); }
.btn-on-blue { background: #fff; color: var(--blue); }

/* ── 첫 화면 ── */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.18; font-weight: 800; letter-spacing: -0.045em; margin: 22px 0 18px; }
.hero .lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 32px; max-width: 30em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--ink-faint); }

/* 카톡 → 인스타 그림 */
.demo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.demo .card { padding: 18px; border-radius: 26px; }
.demo .label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 12px; }
.demo .label .dot { width: 8px; height: 8px; border-radius: 50%; background: #fee500; box-shadow: 0 0 0 3px rgba(254, 229, 0, 0.25); }
.demo .label .dot.ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); box-shadow: none; }
.bubble { font-size: 13.5px; line-height: 1.45; padding: 9px 12px; border-radius: 16px; margin: 7px 0; width: fit-content; max-width: 92%; }
.bubble.me { margin-left: auto; background: #fee500; color: #191600; border-bottom-right-radius: 6px; }
.bubble.bot { background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 2px 8px rgba(40, 90, 200, 0.06); }
.bubble.img { padding: 4px; background: #fee500; }
.bubble.img .mini { display: flex; gap: 3px; }
.bubble.img .mini span { width: 46px; height: 58px; border-radius: 10px; }
.quick { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.quick span { font-size: 12px; background: #fff; border: 1px solid #dbe5f7; border-radius: 999px; padding: 4px 10px; }
.quick span.on { border-color: var(--blue); color: var(--blue); font-weight: 700; }

.ig-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.ig-head .av { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #dd2a7b; }
.ig-head .av img { width: 20px; }

/* 예시 사진 자리 — 나중에 실제 사진(img)으로 바꾸면 됨 */
.photo-slot { position: relative; display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; }
.photo-slot > span { display: flex; align-items: flex-end; padding: 10px; }
.photo-slot > span b { font-size: 11px; letter-spacing: 0.12em; color: #fff; background: rgba(0, 0, 0, 0.45); padding: 4px 9px; border-radius: 999px; }
.photo-slot .before { background: linear-gradient(160deg, #c9d6ea, #8fa3c4); }
.photo-slot .after { background: linear-gradient(160deg, #a9c8ff, #4f86ee); justify-content: flex-end; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ig-cap { font-size: 12.5px; line-height: 1.5; margin-top: 10px; color: var(--ink); }
.ig-cap .tags { color: #3060c8; }
.ig-cap .line { display: block; height: 8px; border-radius: 4px; background: #e3eaf6; margin-top: 6px; }

.demo .arrow { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 20px rgba(10, 102, 255, 0.35); z-index: 2; }

/* ── 섹션 공통 ── */
section.block { padding: 72px 0; }
.head { margin-bottom: 28px; }
.head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.25; font-weight: 800; letter-spacing: -0.04em; margin: 16px 0 10px; }
.head p { color: var(--ink-soft); margin: 0; font-size: 18px; }

/* 사용 방법: 템플릿의 번호 목록 카드 */
.steps { padding: 18px 34px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 22px 0; }
.step + .step { border-top: 1px solid rgba(160, 185, 230, 0.35); }
.num { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(10, 102, 255, 0.28); }
.step h3 { margin: 0 0 2px; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.step p { margin: 0; color: var(--ink-soft); }

/* 기능 */
.features { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.feature { padding: 28px; }
.feature .kicker { color: var(--blue); font-weight: 800; font-size: 15px; }
.feature h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.035em; margin: 8px 0 10px; line-height: 1.3; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.shapes { display: flex; gap: 12px; margin-top: 22px; align-items: flex-end; }
.shape { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.shape .s { display: flex; gap: 3px; margin: 0 auto 8px; }
.shape .s i { display: block; border-radius: 8px; }
.shape .s i.b { background: linear-gradient(160deg, #c9d6ea, #8fa3c4); }
.shape .s i.a { background: linear-gradient(160deg, #a9c8ff, #4f86ee); }
.shape.compare .s i { width: 36px; height: 72px; }
.shape.compare .s i.b { border-radius: 8px 0 0 8px; }
.shape.compare .s i.a { border-radius: 0 8px 8px 0; }
.shape.compare .s { gap: 0; }
.shape.slide .s i { width: 46px; height: 58px; }
.shape.after .s i { width: 46px; height: 58px; }

/* 약속(파란 상자) */
.promise { margin-top: 18px; padding: 34px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: center; }
.promise .kicker { font-weight: 700; opacity: 0.85; font-size: 15px; }
.promise h3 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.3; letter-spacing: -0.04em; margin: 6px 0 0; }
.promise ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promise li { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 18px; padding: 14px 16px; font-size: 15.5px; line-height: 1.45; }
.promise li b { display: block; font-size: 16.5px; }

/* 시작하기 */
.start { padding: 48px 32px; text-align: center; }
.start h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.04em; margin: 16px 0 10px; line-height: 1.25; }
.start p { color: var(--ink-soft); margin: 0 auto 26px; max-width: 34em; }
.start .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.start .mail { margin-top: 20px; font-size: 15px; color: var(--ink-faint); }
.qr { display: inline-flex; align-items: center; gap: 18px; margin-top: 28px; padding: 16px 22px 16px 16px; background: #fff; border-radius: 24px; box-shadow: 0 6px 18px rgba(40, 90, 200, 0.10); text-align: left; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.qr img { border-radius: 12px; }
.qr b { color: var(--ink); }
/* 휴대폰에서는 QR 대신 버튼으로 바로 열면 되니 숨김 */
@media (hover: none) and (pointer: coarse) { .qr { display: none; } }

/* ── 문서 페이지 (약관·방침) ── */
.doc { padding: 24px 0 72px; }
.doc .paper { max-width: 860px; margin: 0 auto; padding: 44px 48px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.04em; margin: 14px 0 4px; }
.doc .meta { color: var(--ink-faint); margin: 0 0 28px; }
.doc h2 { font-size: 21px; font-weight: 800; margin: 40px 0 10px; letter-spacing: -0.03em; }
.doc h3 { font-size: 17px; font-weight: 800; margin: 22px 0 6px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .table { overflow-x: auto; margin: 12px 0; border-radius: 16px; border: 1px solid #dbe5f7; background: #fff; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { border-bottom: 1px solid #e8eef9; padding: 12px 14px; text-align: left; vertical-align: top; min-width: 130px; }
.doc tr:last-child td { border-bottom: 0; }
.doc th { background: #f2f6fe; font-weight: 700; }
.doc .box { background: var(--blue-tint); border-radius: 20px; padding: 18px 22px; margin: 18px 0; }
.doc .box ul { margin: 8px 0 0; }

mark.todo { background: var(--todo); padding: 0 4px; border-radius: 4px; }

/* ── 하단 ── */
footer { padding: 8px 0 48px; }
footer .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 22px; border-radius: 999px; }
footer .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
footer .brand img { height: 26px; }
footer .links { display: flex; gap: 6px; flex-wrap: wrap; }
footer .links a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
footer .links a:hover { background: #fff; color: var(--ink); }
footer .links a.strong { color: var(--ink); font-weight: 800; }
footer .biz { margin-top: 18px; padding: 0 22px; font-size: 13.5px; line-height: 1.9; color: var(--ink-faint); }

/* ── 반응형 ── */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr 1fr; }
  .features .feature:first-child { grid-column: 1 / -1; }
  .promise { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav a.hide-sm { display: none; }
  .hero { padding-top: 28px; }
  .hero .lead { font-size: 17px; }
  .demo { grid-template-columns: 1fr; }
  .demo .arrow { position: static; transform: rotate(90deg); margin: -4px auto; }
  .features { grid-template-columns: 1fr; }
  .promise ul { grid-template-columns: 1fr; }
  .steps { padding: 6px 20px; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .num { width: 40px; height: 40px; font-size: 17px; }
  .doc .paper { padding: 28px 20px; border-radius: 24px; }
  footer .bar { border-radius: 28px; }
}
