/* 색은 앱과 같은 값(기획/002-디자인/디자인.md §4.1). 포인트는 딥그린 하나만.
   카드(28~32) · 버튼과 칩은 알약 · 휴대폰 40. 여백을 넉넉히 두고 한 화면에 한 가지만 말한다.
   다크 모드는 앱과 같은 이유로 두지 않는다(기획서가 기각). 앱 화면은 그림이 아니라 HTML 로 그린다. */
:root {
  --text: #1a1c20; --text-2: #555d6d; --text-3: #868b94; --text-4: #b0b3ba;
  --bg: #fff; --bg-2: #f3f4f5; --bg-3: #e9ebee;
  --line: #e5e8eb; --line-2: #eef0f2;
  --point: #0e7c5a; --point-2: #0b6247; --point-weak: #e7f4ef; --point-line: #cfe6dc;
  --alert: #e5483c; --alert-weak: #fdecea;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  font-size: 17px; line-height: 1.6; letter-spacing: -0.015em;
  word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--point); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.3; }
h2.center { text-align: center; }
h3 { font-size: 22px; line-height: 1.4; }

/* 메뉴 */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); }
.nav-in { max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.05em; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 34px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-cta { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--bg-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; transition: background-color .2s; }
.nav-cta:hover { background: var(--bg-3); }

/* 첫 화면 — 왼쪽 말 · 오른쪽 아파트 한 동 */
.hero { max-width: 1140px; margin: 0 auto; padding: 40px 24px 0; min-height: min(calc(100vh - 60px), 820px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-eyebrow { font-size: 16px; font-weight: 700; color: var(--point); }
.hero h1 { margin-top: 16px; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.22; font-weight: 800; letter-spacing: -0.045em; }
.hero-sub { margin-top: 24px; font-size: 18px; color: var(--text-2); }
.hero-btns { margin-top: 40px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art { position: relative; }
.bld { background: var(--bg-2); border-radius: 32px; padding: 28px 28px 30px; }
.bld-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 15px; }
.bld-head span { color: var(--text-3); font-size: 14px; }
.bld-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bld-grid i { aspect-ratio: 2 / 1; border-radius: 8px; background: #fff; border: 1px solid var(--line); transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.bld-grid i.on { background: var(--point); border-color: var(--point); transform: scale(.96); }
.bld-foot { margin-top: 24px; font-size: 18px; font-weight: 700; }
.bld-count { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--point); margin-right: 2px; font-variant-numeric: tabular-nums; }
.bld-left { display: block; font-size: 15px; font-weight: 500; color: var(--text-3); }
.float-card {
  position: absolute; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 20px; padding: 14px 20px 14px 14px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .25); white-space: nowrap;
}
.float-card b { display: block; font-size: 15px; }
.float-card small { display: block; font-size: 13px; color: var(--text-3); }
.fc-ico { width: 34px; height: 34px; border-radius: 11px; background: var(--point); position: relative; flex: none; }
.fc-ico::after { content: ''; position: absolute; left: 13px; top: 8px; width: 7px; height: 13px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }
.bld-done { left: -48px; top: 76px; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) .9s, transform .6s var(--ease) .9s; }
.hero-art.full .bld-done { opacity: 1; transform: none; }

.sec { max-width: 1140px; margin: 0 auto; padding: 180px 24px 0; }

/* 왜 */
.why h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.3; }
.lead { margin-top: 28px; font-size: 20px; color: var(--text-2); }

/* 이용 방법 — 글은 스크롤, 휴대폰은 붙어 있다 */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 120px; }
.step { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; opacity: .2; transition: opacity .4s var(--ease); }
.step.on { opacity: 1; }
.step-no { width: 36px; height: 36px; border-radius: 50%; background: var(--point-weak); color: var(--point); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.step p { margin-top: 20px; font-size: 18px; color: var(--text-2); }
.how-art { position: sticky; top: calc(50vh - 290px); height: 580px; display: flex; justify-content: center; }
.how-art::before { content: ''; position: absolute; inset: 0 -10%; background: radial-gradient(closest-side, var(--point-weak), transparent); z-index: -1; }
.ph { box-shadow: 0 40px 80px -40px rgba(26, 28, 32, .35); }
.how-screens { position: relative; }
.hs { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: 18px; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hs.on { opacity: 1; transform: none; }
.s-memo { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; color: var(--text-2); font-size: 11.5px; }

/* 안심 */
.safe-list { margin-top: 64px; border-top: 1px solid var(--line); }
.safe-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.safe-list h3 { font-size: 26px; }
.safe-list p { font-size: 18px; color: var(--text-2); }

/* 품목 */
.tiles { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.tile { border-radius: 28px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.tile b { font-size: 21px; letter-spacing: -0.03em; }
.tile span { font-size: 15px; color: rgba(255, 255, 255, .82); margin-top: 4px; }
.t1 { height: 300px; background: linear-gradient(160deg, #3fb88e, #0e7c5a); }
.t2 { height: 360px; background: linear-gradient(160deg, #1a5a46, #0b3f30); }
.t3 { height: 320px; background: linear-gradient(160deg, #e7f4ef, #bfe2d3); color: var(--point-2); }
.t3 span { color: var(--point); }
.t4 { height: 380px; background: linear-gradient(160deg, #2d3139, #1a1c20); }

/* 업체 */
.partner { margin-top: 200px; background: var(--bg-2); padding: 140px 24px; }
.partner-in { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--point); margin-bottom: 14px; }
.pt-copy > p { margin-top: 18px; color: var(--text-2); font-size: 16px; }
.pill-link { margin-top: 32px; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 20px; border-radius: 999px; background: #fff; font-weight: 600; font-size: 15px; transition: background-color .2s; }
.pill-link i { width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: #fff; font-style: normal; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.pill-link:hover { background: var(--point-weak); }
.browser { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(26, 28, 32, .35); font-size: 13px; }
.b-top { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.b-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.b-body { display: grid; grid-template-columns: 140px 1fr; min-height: 340px; }
.b-side { padding: 18px 12px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; color: var(--text-2); }
.b-side b { color: var(--text); font-size: 14px; padding: 0 8px 12px; }
.b-side b em { font-style: normal; color: var(--point); }
.b-side span { padding: 6px 8px; border-radius: 8px; }
.b-side .on { background: var(--bg-2); color: var(--text); font-weight: 600; }
.b-main { padding: 20px; display: grid; align-content: start; gap: 12px; background: #fafbfb; }
.b-h { font-size: 17px; }
.b-card { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.b-card b { font-size: 14px; }
.b-dday { display: block; color: var(--alert); font-weight: 700; font-size: 11.5px; }
.b-tags { display: flex; gap: 5px; margin-top: 7px; }
.b-tags span { background: var(--bg-2); border-radius: 5px; padding: 2px 7px; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.b-tags .dark { background: var(--text); color: #fff; }
.b-act { display: grid; gap: 7px; justify-items: end; flex: none; }
.b-act b { color: var(--point); font-size: 12.5px; }
.b-act span { background: var(--text); color: #fff; border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: 12.5px; }

/* 받기 */
.get { text-align: center; padding: 200px 24px 160px; }
.get h2 { font-size: clamp(32px, 4.4vw, 54px); }
.get-btns { margin-top: 40px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pill { height: 56px; padding: 0 30px; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 700; font-size: 16px; transition: background-color .2s, transform .15s; }
.pill:active { transform: scale(.98); }
.pill-point { background: var(--point); color: #fff; }
.pill-point:hover { background: var(--point-2); }
.pill-line { background: var(--bg-2); color: var(--text); }
.pill-line:hover { background: var(--bg-3); }

/* 아래 */
.foot { border-top: 1px solid var(--line-2); padding: 40px 24px 56px; font-size: 14px; color: var(--text-3); }
.foot-in { max-width: 1140px; margin: 0 auto; display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.foot-in > b { color: var(--text); }
.foot nav { display: flex; gap: 20px; align-items: center; color: var(--text-2); }
.foot nav a:hover { color: var(--text); }
.foot small { margin-left: auto; font-size: 13px; text-align: right; }

/* 휴대폰 틀과 앱 화면(앱 디자인 토큰을 그대로 줄여 쓴다) — 카드 아래로 위쪽만 보인다 */
.ph { width: 270px; height: 560px; border-radius: 40px; border: 8px solid var(--text); border-bottom: 0; background: #fff; overflow: hidden; color: var(--text); flex: none; }
.ph-screen { height: 100%; display: flex; flex-direction: column; font-size: 12px; line-height: 1.45; letter-spacing: -0.01em; padding-top: 18px; }
.s-bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px 10px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.s-bar b { flex: 1; font-weight: 700; }
.s-bar-back::before { content: ''; width: 7px; height: 7px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg); margin-right: 4px; }
.s-pad { padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.s-chips { display: flex; gap: 6px; }
.s-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 11.5px; font-weight: 600; }
.s-chips .on { background: var(--text); border-color: var(--text); color: #fff; }
.s-box small, .s-quote small { color: var(--text-3); font-size: 11px; }
.s-kv { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s-red { color: var(--alert); font-weight: 700; font-style: normal; font-size: 11px; }
.s-pill { background: var(--alert-weak); padding: 2px 7px; border-radius: 5px; }
.s-badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; vertical-align: 1px; }
.s-badge-point { background: var(--point-weak); color: var(--point); }
.s-badge-dark { background: var(--text); color: #fff; }
.s-prog { height: 5px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.s-prog i { display: block; height: 100%; background: var(--point); border-radius: 3px; }
.s-prog-light { background: rgba(14, 124, 90, .15); }
.s-author { display: flex; gap: 9px; align-items: center; }
.s-author b { font-size: 12.5px; font-weight: 700; }
.s-author small { display: block; color: var(--text-3); font-size: 11px; }
.s-ava { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); flex: none; }
.s-title { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; }
.s-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 7px; }
.s-box-point { background: var(--point-weak); border-color: transparent; color: var(--point-2); }
.s-box-point b { font-size: 13px; }
.s-box-point small { color: var(--point); }
.s-big { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.s-line { border-top: 1px solid var(--line-2); padding-top: 8px; color: var(--text-3); }
.s-line b { color: var(--text); font-weight: 700; }
.s-h { font-size: 18px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.3; }
.s-item { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 11px 0; }
.s-item b { font-size: 13px; font-weight: 700; }
.s-item small { display: block; color: var(--text-3); font-size: 11px; }
.s-step { display: flex; align-items: center; gap: 9px; }
.s-step i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; color: var(--text-3); }
.s-step i.on { color: var(--text); border-color: var(--text-3); }
.s-step b { font-size: 14px; }
.s-lab { font-size: 12px; font-weight: 700; margin-top: 4px; }
.s-quote { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 4px; }
.s-q-head { display: flex; gap: 9px; align-items: center; margin-bottom: 4px; }
.s-q-head b { font-size: 13px; font-weight: 700; }
.s-q-head small { display: block; }
.s-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--point-weak); color: var(--point); font-style: normal; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.s-money { font-size: 20px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.s-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.s-tags span { background: var(--bg-2); border-radius: 5px; padding: 2px 7px; font-size: 10.5px; font-weight: 700; color: var(--text-2); }
.s-voted { margin-top: 6px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; background: var(--point-weak); color: var(--point); }
.s-two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 7px; }
.s-two span { height: 38px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.s-two .on { background: var(--text); border-color: var(--text); color: #fff; }

.s-muted { font-style: normal; font-size: 11px; color: var(--text-3); }
.s-box small { color: var(--text-3); font-size: 11px; }
.s-done { margin-top: 6px; background: var(--point-weak); color: var(--point-2); border-radius: 12px; padding: 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.s-done i { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--point); position: relative; }
.s-done i::after { content: ''; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.s-done b { font-size: 13px; }
.s-done small { font-size: 11px; color: var(--point); }
.s-tier { display: flex; justify-content: space-between; background: var(--bg-2); border-radius: 8px; padding: 7px 10px; font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.s-tier b { color: var(--text-2); font-weight: 600; }
.s-tier.on { background: var(--point-weak); color: var(--point-2); font-weight: 700; }
.s-tier.on b { color: var(--point-2); font-weight: 800; }
.s-out { margin-top: 4px; height: 36px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--text-2); }

/* 나타나기: 스크립트가 있을 때만 숨긴다(없으면 전부 보인다) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero-copy > * { animation: rise .9s var(--ease) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .js .safe-list li:nth-child(2) { transition-delay: .1s; }
  .js .safe-list li:nth-child(3) { transition-delay: .2s; }
  .js .tiles .tile:nth-child(2) { transition-delay: .08s; }
  .js .tiles .tile:nth-child(3) { transition-delay: .16s; }
  .js .tiles .tile:nth-child(4) { transition-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hs, .step, .bld-grid i, .bld-done { transition: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; gap: 56px; }
  .bld-done { left: auto; right: -6px; top: 56px; }
  .how { grid-template-columns: 1fr; gap: 0; }
  /* 휴대폰을 줄여 위에 붙이고, 글이 그 아래로 지나간다 */
  .how-art { order: -1; top: 60px; height: 380px; z-index: 2; background: linear-gradient(#fff 88%, rgba(255, 255, 255, 0)); }
  .how-art::before { display: none; }
  .ph-wrap { height: 360px; }
  .ph-wrap .ph { transform: scale(.62); transform-origin: top center; }
  .step { min-height: 70vh; justify-content: flex-start; padding-top: 24px; }
  .safe-list li { grid-template-columns: 1fr; gap: 8px; }
  .partner-in { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { padding: 36px 16px 0; }
  .hero-sub { font-size: 17px; }
  .hero-sub br { display: none; }
  .bld { padding: 22px; border-radius: 26px; }
  .sec { padding-top: 120px; padding-left: 16px; padding-right: 16px; }
  .lead { font-size: 18px; }
  .lead br, .step p br, .pt-copy > p br { display: none; }
  .how { padding-top: 80px; }
  .step p { font-size: 17px; }
  .safe-list h3 { font-size: 22px; }
  .safe-list p { font-size: 17px; }
  .partner { margin-top: 120px; padding: 90px 16px; }
  .b-body { grid-template-columns: 1fr; }
  .b-side { display: none; }
  .b-card { flex-direction: column; align-items: stretch; }
  .b-act { justify-items: stretch; }
  .tiles { gap: 10px; }
  .tile { border-radius: 22px; padding: 20px; }
  .tile b { font-size: 18px; }
  .t1 { height: 220px; } .t2 { height: 260px; } .t3 { height: 240px; } .t4 { height: 280px; }
  .get { padding: 130px 16px 110px; }
  .foot nav a { padding: 10px 0; }
  .foot small { margin-left: 0; text-align: left; }
}

/* 이 페이지의 휴대폰은 아래까지 다 보인다 */
.ph { border-bottom: 8px solid var(--text); }
.how-screens { height: 100%; }

/* 사업자 정보 줄(맨 아래 한 줄 전체) · 고객센터 · 개인정보처리방침 페이지(마스터 2026-12-01) */
.foot-biz { flex-basis: 100%; font-size: 12px; line-height: 1.7; color: var(--text-4); }
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.doc h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.doc-meta { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.doc-body { margin-top: 28px; font-size: 15px; line-height: 1.8; color: var(--text-2); white-space: pre-line; }
.doc-sec { margin-top: 36px; }
.doc-sec h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.doc-sec p { font-size: 15px; line-height: 1.8; color: var(--text-2); margin-top: 8px; }
.doc-contact { margin-top: 12px; padding: 16px 20px; border-radius: 16px; background: var(--bg-2); font-size: 15px; line-height: 1.9; list-style: none; }
.doc-contact a { font-weight: 700; color: var(--point); }
.doc-note { font-size: 13px !important; color: var(--text-3) !important; }
.doc-note a { text-decoration: underline; }
