/* 월세체크 랜딩 페이지.
   색·글꼴·버튼·카드는 앱(web/style.css)과 같게 맞춘다. 앱 색을 바꾸면 아래 :root 값도 같이 바꾼다.
   월급체크 랜딩: 월세체크 랜딩 스타일을 그대로 쓰고(미수체크 랜딩에서 복사), 월급체크 색(보라)과 실수령액 계산기만 덮는다 (아래 맨 끝). */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #f0efeb;
  --text: #1c1c1a;
  --text-2: #6b6a65;
  --text-3: #9b9a94;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --accent: #2f6fde;
  --accent-bg: #e8f0fd;
  --brand: #1f8a5b; /* 앱 아이콘 초록 */
  --good: #1f8a5b;
  --good-bg: #e6f4ec;
  --bad: #c9432f;
  --bad-bg: #fbeae6;
  --warn: #8a5a0b;
  --warn-bg: #fbf0d9;
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --surface: #222220;
    --surface-2: #2b2b29;
    --text: #f2f1ed;
    --text-2: #a9a8a2;
    --text-3: #7a7974;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.18);
    --accent: #7aa7f5;
    --accent-bg: #1f2c44;
    --brand: #5cc795;
    --good: #5cc795;
    --good-bg: #183327;
    --bad: #f08a76;
    --bad-bg: #3a201b;
    --warn: #f1c26b;
    --warn-bg: #3a2e14;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* 머리 */
/* .wrap의 양옆 여백(20px)을 덮지 않게 위아래만 정한다 */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav .btn { padding: 8px 14px; font-size: 14px; }

/* 버튼: 앱의 .btn / .btn.yes 와 같은 모양 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
}
.btn.yes { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 첫 화면 */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.hero h1 { font-size: 44px; line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 16px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--text-2); margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: 13px; color: var(--text-3); margin-top: 10px; }
/* 앱 출시 예정 표시 (스토어 공식 배지는 앱이 나온 뒤에 쓴다) */
.soon { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.soon span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); padding: 7px 12px; border-radius: 10px; border: 1px dashed var(--line-strong); background: var(--surface); }
.soon svg { width: 16px; height: 16px; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--good-bg); color: var(--good); margin-bottom: 16px; }

/* 폰 모양 미리보기: 앱 화면과 같은 카드 */
.phone {
  justify-self: center; width: 320px; max-width: 100%;
  background: var(--bg); border: 10px solid #1c1c1a; border-radius: 40px; padding: 20px 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.phone .date { font-size: 11px; color: var(--text-2); margin: 0 4px; }
.phone .biz { font-size: 16px; font-weight: 700; margin: 0 4px 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 8px; }
.label { font-size: 11px; color: var(--text-2); margin: 0; }
.big { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 0; }
.mid { font-size: 16px; font-weight: 700; margin: 2px 0 0; }
.sub { font-size: 10px; color: var(--text-3); margin: 2px 0 0; }
.bad-text { color: var(--bad); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.grid2 .card { margin-bottom: 0; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; display: flex; margin: 8px 0 5px; }
.bar i { display: block; height: 100%; }
.bar .g { background: var(--good); }
.bar .b { background: var(--bad); }
.legend { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 10px; color: var(--text-2); }
.legend span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.legend .g::before { background: var(--good); border-color: var(--good); }
.legend .b::before { background: var(--bad); border-color: var(--bad); }
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.alert { display: flex; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.alert:last-child { border-bottom: 0; }
.alert .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; margin-top: 6px; background: var(--warn); }
.alert.bad .dot { background: var(--bad); }
.alert .t { font-size: 10px; color: var(--text-2); margin: 0; }
.alert .x { font-size: 11px; margin: 1px 0 0; line-height: 1.45; }
.section-title { font-size: 12px; font-weight: 700; margin: 12px 4px 6px; }

/* 기능 */
section { padding: 56px 0; }
section h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 8px; }
section p.lead { color: var(--text-2); margin: 0 0 28px; font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--good-bg); color: var(--good); margin-bottom: 14px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }

.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.who div { background: var(--surface-2); border-radius: var(--radius); padding: 18px 20px; }
.who b { display: block; font-size: 16px; margin-bottom: 4px; }
.who span { color: var(--text-2); font-size: 14px; }

.beta { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.beta ul { margin: 0 0 24px; padding-left: 20px; color: var(--text-2); }
.beta li { margin: 6px 0; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--text-2); }
.faq ul { margin: 10px 0 0; padding-left: 20px; color: var(--text-2); }
.faq li { margin: 4px 0; }
.faq b { color: var(--text); font-weight: 600; }
.faq details[open] summary { margin-bottom: 4px; }

/* 질문 속 그림 (배달증명 순서) */
.fig { display: block; width: 100%; max-width: 420px; height: auto; margin: 14px auto 0; }
.fig .ln { fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fig .bx { fill: var(--surface-2); }
.fig .hl { fill: var(--good-bg); stroke: var(--brand); stroke-width: 1.5; }
.fig .seal { stroke: var(--brand); }
.fig text { fill: var(--text); font-size: 12px; font-weight: 600; text-anchor: middle; }
.fig text.sub { fill: var(--text-3); font-size: 10.5px; font-weight: 400; }

/* 내용증명 + 배달증명 나란히 */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: stretch; margin-top: 12px; }
.compare > div:not(.plus) { background: var(--surface-2); border-radius: 12px; padding: 12px; }
.compare b { display: block; font-size: 15px; }
.compare span { display: block; margin-top: 4px; color: var(--brand); font-weight: 600; font-size: 14px; }
.compare small { display: block; margin-top: 4px; color: var(--text-3); font-size: 12px; line-height: 1.5; }
.compare .plus { align-self: center; color: var(--text-3); font-size: 20px; }

/* 카카오톡 전자문서에 남는 기록 */
.records { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.records span { background: var(--good-bg); color: var(--brand); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; }

footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--text-3); font-size: 13px; }
footer a { color: var(--text-2); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero h1 { font-size: 34px; }
  .features, .who { grid-template-columns: 1fr; }
  section h2 { font-size: 25px; }
  .beta { padding: 22px; }
  .nav .btn.hide-sm { display: none; }
}

/* 돈체크 가족 띠 (돈체크 랜딩과 같은 CSS) */
.family { background: #1c1c1a; color: #f2f1ed; font-size: 13px; }
.family .wrap { display: flex; align-items: center; gap: 14px; min-height: 36px; overflow-x: auto; white-space: nowrap; }
.family a { color: inherit; text-decoration: none; opacity: 0.7; }
.family a:hover, .family a[aria-current="page"] { opacity: 1; }
.family a[aria-current="page"] { font-weight: 700; }
.family .family-home { opacity: 1; font-weight: 600; }
.family nav { display: flex; gap: 14px; }
.family .family-soon { opacity: 0.45; }

/* 함께 쓰면 좋은 서비스: 돈체크 카드 하나 + 준비 중인 서비스 이름 */
.family-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 520px; }
.family-soon-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.family-soon-row > span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); padding: 8px 12px; border-radius: 12px; border: 1px dashed var(--line-strong); background: var(--surface); }
.family-cards .feature { display: flex; flex-direction: column; gap: 8px; }
.family-cards .feature p { flex: none; }
.family-cards .btn { margin-top: auto; align-self: flex-start; }
.family-tag { color: var(--text) !important; font-weight: 600; }
.badge-soon { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); vertical-align: 2px; }
.soon-btn { color: var(--text-3); cursor: default; }

/* ---- 체키오 안내 페이지 (checkio.html, 세입자용) ---- */
.checkio-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; }
.checkio-mark svg { width: 20px; height: 20px; }
.msg { background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 12px 14px; margin: 6px 4px 0; font-size: 13px; line-height: 1.6; }
.msg p { margin: 0 0 4px; }
.msg p:last-child { margin: 0; }
.msg mark { background: var(--good-bg); color: inherit; border-radius: 4px; padding: 0 2px; }
.msg sup { font-size: 9px; font-weight: 700; color: var(--brand); margin-left: 1px; }
.feature .num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--good-bg); color: var(--brand); font-weight: 700; margin-bottom: 12px; }
.never { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.never li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 42px; }
.never li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid var(--bad); background: linear-gradient(135deg, transparent 45%, var(--bad) 45%, var(--bad) 55%, transparent 55%); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); font-weight: 700; font-size: 13px; }
.steps li::after { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps b { display: block; }
.steps span { color: var(--text-2); }



/* ==== 월급체크 랜딩 ==== */

/* 모임체크 색 = 분홍 (기획-모임체크.md). 밝은 화면 #B8336A (흰 바탕 5.3:1), 어두운 화면 #F28CB4 (어두운 화면의 분홍 단추 글씨는 검게).
   아이콘은 모인 세 사람과 체크 (돈체크/web/brand/club.svg) */
:root { --accent: #B8336A; --accent-bg: #FBE7EF; --brand: #B8336A; --brand-bg: #FBE7EF; --gold: #9a6f14; --gold-bg: #f7efdc; }
.feature .num { background: var(--brand-bg); color: var(--brand); }
@media (prefers-color-scheme: dark) {
  :root { --accent: #F28CB4; --accent-bg: #3A1F2A; --brand: #F28CB4; --brand-bg: #3A1F2A; --gold: #e3b85c; --gold-bg: #33301f; }
  .btn.yes, .phone .next .mini, .checkio-mark { color: #1c1c1a; }
}
.hero h1 em { color: var(--brand); }
.char { image-rendering: pixelated; image-rendering: crisp-edges; }
.logo img { border-radius: 10px; }
.face { width: 28px; height: 28px; border-radius: 8px; background: var(--gold-bg); image-rendering: pixelated; vertical-align: middle; }
.phone .fresh { font-size: 12px; font-weight: 700; color: var(--brand); margin: 8px 4px 0; }
.phone .name { font-size: 17px; font-weight: 800; margin: 0 4px 8px; }
.phone .next { border: 2px solid var(--brand); }
.phone .next .head { display: flex; align-items: center; gap: 8px; }
.phone .next p { font-size: 11px; color: var(--text-2); margin: 8px 0 6px; line-height: 1.5; }
.phone .next .mini { display: block; text-align: center; background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; padding: 9px; border-radius: 10px; }
.phone .then { font-size: 10px; color: var(--text-3); margin: 4px 4px 0; }
.phone .bar .g { background: var(--brand); }
/* 총무의 고통 → 답 */
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.pairs div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.pairs b { display: block; font-size: 16px; }
.pairs span { display: block; color: var(--text-2); font-size: 14px; margin-top: 6px; }
.features.six { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* 자라는 뱃지 */
.grow { display: flex; justify-content: center; align-items: flex-end; gap: 10px 22px; flex-wrap: wrap; padding: 18px 0 6px; }
.grow figure { margin: 0; text-align: center; min-width: 96px; }
.grow figcaption { font-size: 14px; font-weight: 700; margin-top: 6px; }
.grow figcaption span { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); }
.grow .arrow { color: var(--text-3); font-size: 20px; align-self: center; }
.note.center { text-align: center; }
.badge-art{display:block;margin:0 auto;transition:transform .3s}
.badge-art.tier-0{width:52px;opacity:.75}.badge-art.tier-1{width:64px}.badge-art.tier-2{width:78px}.badge-art.tier-3{width:94px;filter:drop-shadow(0 2px 6px rgba(168,100,26,.35))}.badge-art.tier-4{width:112px;filter:drop-shadow(0 3px 10px rgba(242,184,75,.55))}
.badge-art .badge-rays{transform-origin:60px 58px;animation:badge-spin 18s linear infinite}
.badge-art .badge-spark{animation:badge-twinkle 1.8s ease-in-out infinite}
@keyframes badge-spin{to{transform:rotate(360deg)}}@keyframes badge-twinkle{0%,100%{opacity:.2}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.badge-art .badge-rays,.badge-art .badge-spark{animation:none}}
/* 함께해요 (제휴·입점·영업파트너) */
.partner { background: var(--surface); border-top: 1px solid var(--line); }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.partner-grid div { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.partner-grid b { font-size: 16px; }
.partner-grid span { color: var(--text-2); font-size: 14px; flex: 1; }
.partner-grid .btn { justify-content: center; margin-top: 6px; }
/* 반쯤 내리면 뜨는 안내 */
.pop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); display: grid; place-items: center; padding: 16px; z-index: 50; }
.pop[hidden] { display: none; }
.pop-card { position: relative; width: min(420px, 100%); background: var(--surface); border-radius: 22px; padding: 26px 22px 18px; text-align: center; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25); animation: pop-in 0.25s ease-out; }
.pop-top { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pop-face { width: 64px; height: 64px; border-radius: 16px; background: var(--brand-bg); image-rendering: pixelated; }
.pop-card h3 { font-size: 22px; line-height: 1.35; margin: 14px 0 8px; }
.pop-card p { color: var(--text-2); margin: 0 0 16px; }
.pop-card .btn.wide { display: flex; width: 100%; justify-content: center; }
.pop-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--line); color: var(--text-2); font-size: 22px; line-height: 1; cursor: pointer; }
.pop-today { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--text-3); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
body.pop-open { overflow: hidden; }
@keyframes pop-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pop-card { animation: none; } }
.pill { background: var(--brand-bg); color: var(--brand); }

/* 한국어 ↔ English 전환 (2026-10-23, /en/ 영어 페이지) */
.nav .lang-link { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-2); padding: 8px 4px; white-space: nowrap; }
.nav .lang-link:hover { color: var(--text); }
@media (max-width: 560px) { .grow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 8px; } .grow .arrow { display: none; } }

/* 총무님 이야기 */
.story h2 { margin-top: 10px; }
.voices { display: grid; gap: 10px; margin: 6px 0 18px; }
.voices p { margin: 0; padding: 14px 16px 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px; color: var(--text); }
.story .turn { font-size: 17px; line-height: 1.7; margin: 0; }
.story .turn b { color: var(--brand); }
