/* Hallmark · shape: Split Story · genre: editorial · theme: brand · redesign: full · job: try (웹에서 바로 써 보기)
 * paper: oklch(97.8% 0.006 70) · accent: oklch(51% 0.11 2) · display: Noto Serif KR 600 · body: Noto Sans KR · hero: Settled (head left, one phone right) · nav: app header echo (wordmark + 나만의 지도, three links, one action) · footer: plain stack · signature: the real app card with the building standing on the map
 * axes: warm paper/serif display/rose accent · posture: settled · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the one strong picture is a phone screenshot; kept it big and alone instead of two tilted phones, cut the marquee, steps and fake cases */
/* Hallmark · dropped /app?demo=1, open_demo_hero, the eyebrow (54), the marquee, the steps and the example cases · the demo and those sections showed features that left the app menu on 2026-10-27 */
/* 소개 사이트 — 앱(코덱스 디자인, 2026-10-26)과 같은 장미빛 종이 · 장미 단추 · 명조 제목. 색과 글꼴은 아래 토큰으로만 */
:root {
  --paper: #faf7f3; --card: #fffdfb; --ink: #3e3434; --ink-2: #5f5152; --ink-3: #817574;
  --line: #eae1dc; --line-strong: rgba(96, 69, 71, 0.24); --press: rgba(96, 69, 71, 0.07);
  --accent: #a24f63; --accent-hi: #b45d72; --accent-ink: #89394e; --accent-soft: rgba(162, 79, 99, 0.1); --on-accent: #fffaf8;
  --shadow: rgba(60, 35, 15, 0.12);
  --font-display: 'Noto Serif KR', 'HANBatang', Batang, serif;
  --font-body: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --max: 1080px; --r: 16px; --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.7; word-break: keep-all; caret-color: var(--accent); scrollbar-color: var(--line-strong) var(--paper); }
::selection { background: var(--accent-soft); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; border-radius: 6px; transition: none; }
.wrap { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.narrow { max-width: 680px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; padding: 8px 12px; background: var(--card); }
h1, h2 { font-family: var(--font-display); font-weight: 600; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; min-width: 0; letter-spacing: -0.02em; }
p { text-wrap: pretty; }

/* 머리 — 앱 머리와 같은 꼴: 이름 · 나만의 지도, 링크 셋, 단추 하나 */
.head { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.brand b { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.04em; }
.brand small { font-size: 13px; color: var(--ink-3); }
.nav { display: flex; gap: 16px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 8px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); text-decoration: underline; }
@media (max-width: 640px) { .head .btn.sm, .brand small { display: none; } .nav { gap: 12px; font-size: 14px; } }

/* 단추 — 주 단추 하나(장미), 조용한 단추 하나 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 16px; color: var(--on-accent); background: var(--accent); text-decoration: none; cursor: pointer; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: translateY(1px); background: var(--accent-ink); }
.btn.quiet { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.quiet:hover { background: var(--press); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled=true], .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* 첫 화면 — 왼쪽 제목 · 한 문장 · 단추, 오른쪽 실제 앱 화면 한 장 */
.hero { padding: 48px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
h1 { margin: 0; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.12; }
.lead { margin: 20px 0 28px; font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 22em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.phone { margin: 0; justify-self: center; width: min(100%, 320px); border-radius: 36px; padding: 8px; background: var(--card); border: 1px solid var(--line); }
.phone img { width: 100%; border-radius: 28px; aspect-ratio: 780 / 1688; object-fit: cover; }
@media (max-width: 860px) {
  .hero { padding-top: 28px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .phone { width: min(78vw, 300px); }
}

/* 마디 */
section.band { padding: 72px 0; }
section.band.alt { background: var(--card); border-block: 1px solid var(--line); }
section.band.quiet { background: var(--accent-soft); }
h2 { margin: 0 0 16px; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.3; }
.band p { margin: 0 0 12px; color: var(--ink-2); max-width: 36em; }
.band p.big { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.6; color: var(--ink); }
.sub { margin: 0 0 28px; color: var(--ink-2); max-width: 40em; }
.split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.flip .copy { order: 2; }
.split .copy p:first-of-type { font-size: 19px; color: var(--ink); }
@media (max-width: 860px) { .split .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .split.flip .copy { order: 0; } }

/* 지키는 것 — 머리글 셋, 가는 선으로 나눔 */
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 8px 0 0; }
.promise > div { padding: 20px 24px 8px 0; border-top: 2px solid var(--ink); margin-right: 24px; }
.promise dt { font-weight: 700; margin-bottom: 8px; }
.promise dd { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .promise { grid-template-columns: minmax(0, 1fr); } .promise > div { margin-right: 0; padding-bottom: 20px; } }

/* 자주 묻는 질문 */
.faq { display: grid; gap: 0; max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 14px; font-size: 22px; color: var(--accent); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }
.faq details p { margin: 0 0 8px; }

/* 문의 */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.time { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 14px; }
@media (max-width: 760px) { .ask { grid-template-columns: minmax(0, 1fr); } }
form.card { display: grid; gap: 16px; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
label { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
label small { font-weight: 400; color: var(--ink-2); }
input[type=text], input[type=email], select, textarea { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong); font: inherit; font-size: 16px; color: var(--ink); background: var(--card); }
input[type=text]:hover, input[type=email]:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--ink-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { margin: 0; font-size: 14px; color: var(--accent-ink); min-height: 1lh; }

/* 글 페이지 */
.crumbs { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: '›'; margin-right: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page { padding: 20px 0 72px; }
.page h1 { font-size: clamp(30px, 4.6vw, 44px); margin: 8px 0 16px; }
.doc { max-width: 760px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--card); }
.updated { font-size: 14px; color: var(--ink-3); }
.center { text-align: center; }
.big404 { font-family: var(--font-display); font-size: clamp(64px, 14vw, 120px); color: var(--accent); line-height: 1; margin: 32px 0 0; }
@media (max-width: 640px) { .doc table { display: block; overflow-x: auto; white-space: normal; } .doc th, .doc td { min-width: 112px; } }

/* 꼬리 */
.foot { padding: 40px 0 120px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot .wrap { display: grid; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 4px 0; }
.foot nav a:hover { text-decoration: underline; }
.foot p { margin: 0; }
@media (min-width: 761px) { .foot { padding-bottom: 40px; } }

/* 휴대폰에서 아래에 붙는 바로가기 — 첫 화면을 지나면 나온다(스크립트가 있을 때만 숨김) */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); gap: 8px; padding: 8px; border-radius: 999px; background: var(--card); box-shadow: 0 8px 24px -12px var(--shadow); }
  .dock .btn { flex: 1; min-height: 46px; }
  .dock .btn.quiet { flex: none; padding: 0 16px; }
}

/* 움직임 — 하나만: 목록이 화면에 들어오면 차례로. 스크립트가 없거나 움직임 줄이기면 처음부터 보임 */
.js [data-rv]:not(.in) > * { opacity: 0; transform: translateY(16px); }
.js [data-rv] > * { transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
.dock { transition: transform 400ms var(--ease), opacity 400ms var(--ease); }
.js .dock.away { transform: translateY(120%); opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js [data-rv]:not(.in) > *, .js [data-rv] > * { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary::after, .dock { transition: none; }
}
