/* zero.nelloom.app — 소개 한 장과 문서 네 장이 같이 쓰는 스타일. 낼룸 홈페이지(nelloom.app)의 글꼴 · 색 · 문서 꼴을 따른다. */
:root {
  --d1: 90ms; --d2: 140ms;
  --ink: #0A0A0A; --ink2: #3D4350; --ink3: #8D8D8D; --line: #E8E8E8;
  --navy: #1C274C; --blue: #0087FF; --green: #12B76A; --bg: #F2F4F6;
  --blue-clay: #6FB2FF; --lilac-clay: #B4A1FF; --mint-clay: #79D7A7; --amber-clay: #FFC65C; --pink-clay: #FF9BCB;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
main { overflow-x: clip; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.mbr { display: none; }
@media (max-width: 640px) { .mbr { display: inline; } .dbr { display: none; } }

/* 버튼 */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 22px; background: var(--navy); color: #fff;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform var(--d1) ease, background-color var(--d2) linear;
}
.pill:hover { background: #273463; }
.pill:active { transform: scale(.97); }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; scroll-margin-top: 120px; }
.store {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 190px; height: 56px; padding: 0 22px; border-radius: 16px; background: var(--navy); color: #fff;
  font-size: 17px; font-weight: 600; transition: background-color var(--d2) linear, transform var(--d1) ease;
}
a.store[href]:hover { background: #273463; }
a.store[href]:active { transform: scale(.97); }
/* 스토어 주소가 아직 없을 때(href 없음): 누를 수 없고 「곧 열려요」를 단다 */
.store .t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.store small { margin-top: 2px; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .7); }
a.store:not([href]) { background: #E9EBEF; color: #6B7280; cursor: default; }
a.store:not([href]) small { color: #8D93A0; }

/* 머리 */
.hd { position: sticky; z-index: 20; top: 0; height: 64px; border-bottom: 1px solid transparent; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.hd.doc-hd { border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; max-width: 1040px; height: 100%; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 19px; letter-spacing: -.02em; }
.logo img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 1.5px #fff, 0 2px 8px rgba(28, 39, 76, .14); }
.logo b { font-weight: 600; }
.logo span { margin-left: -3px; font-weight: 500; }
.hd nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.hd nav a:not(.pill):hover { opacity: .6; }
@media (max-width: 640px) { .hd nav .nav-faq { display: none; } }

/* 첫 화면 */
.hero { position: relative; padding: 64px 20px 0; text-align: center; background: radial-gradient(140% 70% at 50% -8%, #C7DDF6 0%, #DCE8F5 34%, #EFEDEA 66%, #F7F1E6 100%); overflow: hidden; }
.hero .eyebrow { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); color: var(--navy); font-size: 15px; font-weight: 600; }
.hero h1 { margin: 18px 0 0; color: var(--navy); font-size: 72px; line-height: 1.16; font-weight: 700; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .sub { margin: 20px auto 0; max-width: 560px; color: var(--ink2); font-size: 20px; line-height: 1.6; }
.zeros { display: flex; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.zeros li { display: flex; flex-direction: column; align-items: center; min-width: 116px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .9); box-shadow: 0 10px 26px rgba(40, 50, 70, .08); }
.zeros b { color: var(--navy); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.zeros span { margin-top: 2px; color: var(--ink2); font-size: 14px; }
.hero .stores { margin: 32px 0 0; }
.hero-stage { position: relative; max-width: 760px; height: 560px; margin: 48px auto 0; }
.hero-stage .dog { position: absolute; z-index: 3; left: 50%; bottom: 40px; width: 300px; transform: translateX(-118%); filter: drop-shadow(0 20px 24px rgba(80, 60, 30, .2)); }
.hero-stage .phone { position: absolute; left: 50%; top: 0; transform: translateX(-28%); }
@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .hero h1 { font-size: 46px; }
  .hero .sub { font-size: 17px; }
  .zeros { gap: 8px; }
  .zeros li { min-width: 0; flex: 1; padding: 12px 6px; border-radius: 16px; }
  .zeros b { font-size: 19px; }
  .zeros span { font-size: 13px; }
  .store { min-width: 0; flex: 1; height: 56px; padding: 0 12px; font-size: 16px; }
  .hero-stage { height: 470px; margin-top: 36px; }
  .hero-stage .phone { transform: translateX(-30%); }
  .hero-stage .dog { width: 160px; bottom: 6px; transform: translateX(-122%); }
}

/* 폰 틀 */
.phone { width: 280px; padding: 9px; border-radius: 46px; background: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .03), 0 30px 70px rgba(40, 50, 70, .2); }
.phone img { width: 100%; border-radius: 38px; background: var(--bg); }
@media (max-width: 640px) { .phone { width: 230px; border-radius: 38px; padding: 8px; } .phone img { border-radius: 31px; } }

/* 마디 공통 */
.sec { max-width: 1040px; margin: 0 auto; padding: 110px 20px; }
.sec .k { color: var(--blue); font-size: 16px; font-weight: 600; }
.sec h2 { margin: 12px 0 0; font-size: 44px; line-height: 1.3; font-weight: 700; letter-spacing: -.03em; }
.sec .lead { margin: 16px 0 0; color: var(--ink2); font-size: 18px; line-height: 1.7; }
.center { text-align: center; }
@media (max-width: 640px) { .sec { padding: 76px 20px; } .sec h2 { font-size: 30px; } .sec .lead { font-size: 16.5px; } }

/* 왜 무료 — 무료로 푼 기능 표 */
.free-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px 0 0; padding: 0; list-style: none; text-align: left; }
.free-list li { position: relative; padding: 22px 76px 22px 22px; border-radius: 22px; background: var(--bg); }
.free-list b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.free-list span { display: block; margin-top: 6px; color: var(--ink2); font-size: 15px; line-height: 1.6; }
.free-list .tag { position: absolute; top: 20px; right: 18px; font-style: normal; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--green); font-size: 13px; font-weight: 600; }
@media (max-width: 860px) { .free-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .free-list { grid-template-columns: 1fr; } }

/* 기능 줄 */
.rows { display: flex; flex-direction: column; gap: 96px; margin: 64px 0 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.row.rev .media { order: 2; }
.media { position: relative; display: flex; justify-content: center; gap: 18px; padding: 44px 20px; border-radius: 34px; }
.media .phone { width: 250px; }
.media .phone.second { margin-top: 60px; }
.t-blue { background: #EAF3FE; } .t-lilac { background: #F1EDFF; } .t-mint { background: #E9F8F0; } .t-amber { background: #FFF5E3; }
.row .txt .k { color: var(--blue); font-size: 16px; font-weight: 600; }
.row h3 { margin: 10px 0 0; font-size: 34px; line-height: 1.32; font-weight: 700; letter-spacing: -.03em; }
.row p { margin: 14px 0 0; color: var(--ink2); font-size: 17px; line-height: 1.75; }
.row ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink2); font-size: 16px; line-height: 1.8; }
@media (max-width: 860px) {
  .rows { gap: 64px; margin-top: 44px; }
  .row { grid-template-columns: 1fr; gap: 26px; }
  .row.rev .media { order: 0; }
  .media { padding: 30px 12px; border-radius: 26px; gap: 10px; }
  .media .phone { width: 46%; max-width: 230px; border-radius: 30px; padding: 6px; }
  .media .phone img { border-radius: 25px; }
  .media .phone.solo { width: 62%; }
  .media .phone.second { margin-top: 40px; }
  .row h3 { font-size: 26px; }
  .row p { font-size: 16.5px; }
}

/* 연결할 수 있는 앱 */
.apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.apps li { padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15.5px; font-weight: 500; }
.apps-note { margin: 18px 0 0; color: var(--ink3); font-size: 14.5px; line-height: 1.6; }

/* 광고 없음 · 안심 (어두운 마디) */
.night { background: #05070D; color: #fff; }
.night .sec .k { color: #6FB2FF; }
.night .sec .lead { color: #A3A8B3; }
.safe-cards { text-align: left; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0 0; padding: 0; list-style: none; }
.safe-cards li { padding: 26px 24px; border-radius: 24px; background: #17191F; }
.safe-cards b { display: block; font-size: 19px; line-height: 1.45; font-weight: 600; }
.safe-cards span { display: block; margin-top: 10px; color: #9A9EA8; font-size: 15px; line-height: 1.65; }
.night .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 0; }
.pill.white { background: #fff; color: #0A0A0A; }
.pill.white:hover { background: #ECECEC; }
.pill.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
.pill.line:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 860px) { .safe-cards { grid-template-columns: 1fr; } }

/* 자주 묻는 질문 */
.faq { max-width: 820px; margin: 36px auto 0; text-align: left; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; color: var(--ink3); transition: transform var(--d2) ease; }
.qa[open] summary svg { transform: rotate(90deg); }
.qa p { margin: -6px 4px 22px; color: var(--ink2); font-size: 16.5px; line-height: 1.75; }
@media (max-width: 640px) { .qa summary { font-size: 16.5px; padding: 18px 2px; } .qa p { font-size: 15.5px; } }

/* 끝 */
.end { padding: 100px 20px 0; text-align: center; background: linear-gradient(#fff, #F7F1E6); }
.end h2 { margin: 0; color: var(--navy); font-size: 44px; line-height: 1.3; font-weight: 700; letter-spacing: -.03em; }
.end .stores { margin: 30px 0 0; }
.end .dog { width: 260px; margin: 40px auto 0; }
@media (max-width: 640px) { .end { padding-top: 72px; } .end h2 { font-size: 30px; } .end .dog { width: 200px; } }

/* 바닥글 */
.ft { padding: 30px 20px 44px; border-top: 1px solid var(--line); background: #fff; font-size: 13px; line-height: 1.75; color: #6B6B6B; }
.ft div { max-width: 1040px; margin: 0 auto; }
.ft a { color: #1D2330; }
.ft span { white-space: nowrap; }
.ft .links { margin-top: 8px; }
.ft .links a + a::before { content: "|"; margin: 0 8px; color: #C4C4C4; }

/* 문서(처리방침 · 약관 · 계정 지우기 · 문의) — 낼룸 문서 꼴 그대로 */
.doc { max-width: 880px; margin: 0 auto; padding: 64px 20px 90px; }
.doc .k { font-size: 16px; font-weight: 600; color: var(--blue); }
.doc h1 { margin: 12px 0 10px; font-size: 42px; font-weight: 700; letter-spacing: -.035em; }
.doc .meta { margin: 0 0 32px; font-size: 15px; color: var(--ink3); }
.doc .lead { font-size: 17px; line-height: 1.75; color: #2A2A2A; }
.toc { margin: 30px 0 44px; padding: 24px 28px; border-radius: 22px; background: #F4F4F5; columns: 2; column-gap: 32px; font-size: 15.5px; line-height: 2.05; }
.toc a { display: block; color: #2A2A2A; break-inside: avoid; }
.toc a:hover { color: var(--blue); }
.doc h2 { margin: 48px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; scroll-margin-top: 84px; }
.doc h3 { margin: 26px 0 8px; font-size: 17.5px; font-weight: 700; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.78; color: #2A2A2A; }
.doc ul, .doc ol { padding-left: 22px; margin: 8px 0; }
.doc li + li { margin-top: 4px; }
.doc .tw { overflow-x: auto; margin: 12px 0; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.doc th, .doc td { border-top: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.doc tr:last-child td { border-bottom: 1px solid var(--line); }
.doc th { background: #F4F4F5; font-weight: 600; color: #333; }
.doc td small { color: #6B6B6B; }
.doc a.u { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.doc .note { margin: 16px 0; padding: 16px 20px; border-radius: 16px; background: #F4F7FC; font-size: 15.5px; line-height: 1.7; color: #2A2A2A; }
.doc .mail { display: inline-flex; margin: 8px 0 4px; }
.w20 { width: 20%; } .w22 { width: 22%; } .w27 { width: 27%; } .w28 { width: 28%; } .w42 { width: 42%; }
@media (max-width: 640px) {
  .doc { padding: 44px 20px 70px; }
  .doc h1 { font-size: 32px; }
  .toc { columns: 1; padding: 20px 22px; }
  .doc p, .doc li { font-size: 16px; }
}

/* 없는 페이지 */
.nf { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 20px; text-align: center; }
.nf img { width: 220px; margin: 0 auto; }
.nf h1 { margin: 24px 0 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.nf p { margin: 10px 0 28px; color: var(--ink2); font-size: 16.5px; }

/* 폰에서는 표를 줄마다 카드로 쌓는다 — 옆으로 밀어야 보이는 칸이 없게 */
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: auto; min-width: 0; }
  .doc tr:first-child { display: none; }
  .doc tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .doc tr:last-child { border-bottom: 1px solid var(--line); }
  .doc td, .doc tr:last-child td { border: 0; padding: 2px 0; }
  .doc td:first-child { padding-bottom: 6px; font-weight: 700; font-size: 16px; }
  .doc td:first-child small { font-weight: 400; font-size: 13.5px; }
  .doc td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-top: 8px; color: #6B6B6B; font-size: 13px; font-weight: 600; }
}
