/* 밥심 소개 사이트 공용 스타일 — intro-website·intro-operators·intro-companies 세 페이지가 함께 쓴다. */
:root {
  --ink: #0F172A;
  --sub: #475569;
  --muted: #94A3B8;
  --line: #E2E8F0;
  --surface: #F8FAFC;
  --brand: #F97316;
  --brand-hover: #EA580C;
  --brand-ink: #C2410C;
  --brand-tint: #FFF7ED;
  --good: #16A34A;
  --bad: #DC2626;
  --bg: #ffffff;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* 한국어는 어절 중간에서 끊기면 번역체처럼 읽힌다 — 공백 단위로만 줄바꿈. */
  word-break: keep-all;
  overflow-wrap: break-word; /* keep-all이 URL·긴 영문 토큰을 넘치게 하는 것만 방어 */
}
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; color: var(--ink); }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--sub); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
/* 지금 보고 있는 대상 페이지(운영사용·기업용)를 메뉴에서 표시한다. */
.nav-links a[aria-current="page"] { color: var(--brand-ink); font-weight: 800; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; text-align: center;
  border-radius: var(--radius); transition: transform .12s ease, background .12s ease;
  cursor: pointer; border: none; font-size: 16px; height: 48px; padding: 0 28px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--ink); box-shadow: 0 4px 14px rgba(249,115,22,.28); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: var(--bg); color: var(--ink); border: 1.5px solid var(--line); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- Hero ---------- */
/* 갈림길 카드가 노트북 첫 화면(높이 ~720px) 안에 들어오도록 위 여백·캐릭터를 줄였다. */
/* 좌우 24px은 .wrap 여백 — padding 단축 속성이 덮어써 모바일에서 카드가 화면 끝에 붙었었다. */
.hero { padding: 28px 24px 64px; text-align: center; }
.hero-mascot { height: 64px; margin-bottom: 4px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-tint); color: var(--brand-ink);
  font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 100px; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 52px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.25;
}
.hero h1 em { font-style: normal; color: var(--brand-ink); }
.hero p.sub {
  margin: 18px auto 0; max-width: 620px; font-size: 18px; color: var(--sub);
  line-height: 1.75; text-wrap: balance; /* 마지막 줄에 한 어절만 남는 것 방지 */
}
/* 의도한 위치에서만 줄을 끊는다. 좁은 화면에선 숨겨서 자연스럽게 흐르게. */
.br-desk { display: inline; }
.hero-ctas { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hero-facts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.fact {
  background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
  font-size: 14px; font-weight: 700; padding: 10px 20px; color: var(--sub);
}
.fact b { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.warm { background: var(--surface); }
.section-label { font-size: 14px; font-weight: 800; color: var(--brand-ink); letter-spacing: .06em; margin-bottom: 12px; }
/* 운영사용·기업용 페이지는 첫 섹션 제목이 페이지 h1이다 — 섹션 제목과 같은 모양으로 둔다. */
.section h1, .section h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -1px; line-height: 1.35; }
.section p.lead { margin-top: 16px; font-size: 17px; color: var(--sub); max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .emoji { font-size: 30px; }
.card h3 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; letter-spacing: -0.3px; }
.card p { font-size: 15px; color: var(--sub); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .dot {
  flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-tint);
  color: var(--brand-ink); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.feature-list b { display: block; font-size: 16px; letter-spacing: -0.3px; }
.feature-list span.desc { font-size: 14.5px; color: var(--sub); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.chip {
  font-size: 13px; font-weight: 700; color: var(--sub);
  border: 1px solid var(--line); background: var(--bg); border-radius: 100px; padding: 7px 14px;
}
.chip.more { border-style: dashed; color: var(--muted); }
/* 아직 출시 전인 기능 표시 — 섹션 제목 위에 붙인다 */
.soon {
  display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--brand-ink);
  background: var(--brand-tint); border-radius: 100px; padding: 4px 11px; margin-bottom: 12px;
}

/* ---------- Messenger mockup ---------- */
.chat {
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15,23,42,.12); overflow: hidden; font-size: 13.5px;
  max-width: 430px; margin: 0 auto;
}
.chat-head { padding: 13px 18px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.chat-head small { font-weight: 600; color: var(--muted); font-size: 11.5px; margin-left: auto; }
.chat-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; }
.msg .avt {
  flex: none; width: 34px; height: 34px; border-radius: 9px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.msg .body { flex: 1; min-width: 0; }
.msg .who { font-weight: 800; font-size: 13px; }
.msg .who small { font-weight: 500; color: var(--muted); font-size: 11px; margin-left: 6px; }
.msg .txt { margin-top: 2px; color: var(--ink); }
.linkcard {
  margin-top: 8px; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 10px; padding: 12px 14px; background: var(--surface);
}
.linkcard .t { font-weight: 800; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.linkcard .t img { width: 18px; height: 18px; border-radius: 5px; }
.linkcard .d { font-size: 12px; color: var(--sub); margin-top: 2px; }
.linkcard .go {
  display: inline-block; margin-top: 10px; background: var(--brand); color: var(--ink);
  font-size: 12px; font-weight: 800; border-radius: 8px; padding: 7px 14px;
}
.reacts { display: flex; gap: 6px; margin-top: 8px; }
.react {
  font-size: 11.5px; font-weight: 700; color: var(--sub);
  border: 1px solid var(--line); border-radius: 100px; padding: 3px 9px; background: #fff;
}
.react.on { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); }
.sysline { text-align: center; font-size: 11.5px; color: var(--muted); }

/* ---------- Phone mockup ---------- */
.phone {
  width: 290px; margin: 0 auto; background: #fff; border-radius: 36px;
  border: 6px solid var(--ink); box-shadow: 0 24px 60px rgba(15,23,42,.18);
  overflow: hidden; font-size: 13px;
}
.phone-wrap { position: relative; width: 290px; margin: 0 auto; }
.phone-mascot { position: absolute; right: -60px; bottom: -12px; height: 80px; z-index: 2; transform: rotate(-4deg); }
.phone-status { display:flex; justify-content:space-between; padding: 10px 18px 6px; font-size: 11px; font-weight:600; color: var(--muted); }
.phone-head { padding: 8px 18px 12px; border-bottom: 1px solid var(--line); }
.phone-head .store { font-weight: 800; font-size: 16px; letter-spacing: -0.3px; }
.phone-head .loc { font-size: 11.5px; color: var(--muted); }
.group-banner {
  margin: 12px 14px 0; background: var(--brand-tint); border-radius: var(--radius); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.avatars { display: flex; }
.avatars i {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; font-style: normal;
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff;
}
.avatars i:nth-child(1){ background:#F97316; }
.avatars i:nth-child(2){ background:#16A34A; margin-left:-7px; }
.avatars i:nth-child(3){ background:#6366f1; margin-left:-7px; }
.avatars i:nth-child(4){ background:#0EA5E9; margin-left:-7px; }
.group-banner b { font-size: 12px; color: var(--brand-ink); }
.group-banner small { display:block; font-size: 10.5px; color: var(--sub); font-weight: 500;}
.menu-item { display: flex; justify-content: space-between; align-items:center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.menu-item .nm { font-weight: 700; font-size: 13px; }
.menu-item .op { font-size: 11px; color: var(--muted); }
.menu-item .pr { font-weight: 700; font-size: 12.5px; }
.qty { font-size: 10.5px; background: var(--surface); border-radius: 6px; padding: 2px 7px; color: var(--sub); font-weight: 700; margin-left: 6px;}
.byline { font-size: 10px; color: var(--brand-ink); font-weight: 700; }
.phone-cta { margin: 14px; }
.phone-cta .pay {
  background: var(--brand); color: var(--ink); border-radius: var(--radius); padding: 13px;
  text-align: center; font-weight: 800; font-size: 13.5px;
}
.phone-cta .pay small { display: block; font-weight: 600; font-size: 10.5px; opacity: .72; }

/* ---------- Deploy compare ---------- */
.zero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.zero-card { border-radius: var(--radius); padding: 32px; }
.zero-card.them { background: var(--bg); border: 1px solid var(--line); }
.zero-card.us { background: var(--brand-tint); color: var(--ink); border: 1.5px solid var(--brand); }
.zero-card .tag { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.zero-card.them .tag { color: var(--muted); }
.zero-card.us .tag { color: var(--brand-ink); }
.zero-card h3 { font-size: 21px; font-weight: 800; margin: 10px 0 16px; letter-spacing: -0.5px; line-height: 1.4;}
.cmp { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.cmp li { display: flex; gap: 10px; align-items: baseline; }
.cmp .x { color: var(--bad); font-weight: 800; }
.cmp .o { color: var(--good); font-weight: 800; }
.zero-card.them .cmp li { color: var(--sub); }
.zero-card.us .cmp li { color: var(--ink); }

/* ---------- Timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .n { font-size: 13px; font-weight: 800; color: var(--brand-ink); }
.step h3 { font-size: 16.5px; font-weight: 700; margin: 8px 0 6px; letter-spacing: -0.3px; }
.step p { font-size: 13.5px; color: var(--sub); }

/* ---------- Also strip ---------- */
.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.also .card h3 { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 48px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
details summary {
  font-size: 16.5px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; letter-spacing: -0.3px;
}
details summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; font-size: 15px; color: var(--sub); }

/* ---------- Final CTA ---------- */
.final { background: linear-gradient(180deg, var(--brand-tint) 0%, #FFEDD5 100%); color: var(--ink); text-align: center; padding: 96px 24px 88px; }
.final .mascot { height: 76px; margin-bottom: 20px; }
.final h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.35; }
.final p { margin: 16px auto 0; color: var(--sub); max-width: 480px; font-size: 16.5px; }
.final .hero-ctas { margin-top: 36px; }
.final .btn-ghost { background: #fff; color: var(--ink); border-color: #FED7AA; }

footer { padding: 40px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px;}

/* ---------- Audience switch (운영사 / 기업) ---------- */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 24px auto 0; text-align: left; }
.aud a {
  display: block; text-decoration: none; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 22px; transition: border-color .12s ease, transform .12s ease;
}
.aud a:hover { border-color: var(--brand); transform: translateY(-2px); }
.aud small { display: block; font-size: 12.5px; font-weight: 800; color: var(--brand-ink); letter-spacing: .04em; }
.aud b { display: block; font-size: 17px; margin-top: 4px; letter-spacing: -0.3px; }
.aud span { display: block; font-size: 14px; color: var(--sub); margin-top: 4px; }
.aud em { display: block; font-style: normal; font-size: 14px; font-weight: 800; color: var(--brand-ink); margin-top: 8px; }

/* ---------- Operator section ---------- */
.benefit-cards .card { background: var(--brand-tint); border-color: transparent; }
.shot {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 60px rgba(15,23,42,.10);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-cap { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.phones3 { display: flex; gap: 14px; justify-content: center; }
.phones3 .shot { width: 31%; max-width: 190px; border-radius: 22px; }
.model {
  margin-top: 64px; background: var(--brand-tint); color: var(--ink); border: 1px solid #FED7AA; border-radius: 18px; padding: 40px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center;
}
.model h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.4; }
.model p { margin-top: 12px; color: var(--sub); font-size: 15.5px; }
.model .hero-ctas { justify-content: flex-start; margin-top: 24px; }
.model .btn-ghost { background: #fff; color: var(--ink); border-color: #FED7AA; }
.flow { display: flex; flex-direction: column; gap: 10px; }
.flow div { background: #fff; border: 1px solid #FED7AA; border-radius: 10px; padding: 14px 18px; font-size: 15px; }
.flow b { color: var(--brand-ink); }
.note-small { font-size: 12.5px; color: var(--muted); margin-top: 28px; }

/* ---------- Contact ---------- */
.contact-lines { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-lines a { color: var(--ink); background: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
  border: 1px solid #FED7AA; border-radius: 100px; padding: 10px 20px; }

.center { text-align: center; }
.center p.lead { margin-left: auto; margin-right: auto; }
.center .chips { justify-content: center; }

@media (max-width: 860px) {
  .cards, .steps, .also { grid-template-columns: 1fr; }
  .split, .zero-grid, .model, .aud { grid-template-columns: 1fr; }
  .model { padding: 28px; }
  .split .visual { order: -1; }
  /* 모바일에서도 운영사용·기업용 전환은 남긴다 — 페이지가 나뉘어 메뉴가 유일한 이동 경로다. */
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn):not(.nav-aud) { display: none; }
  .nav-links a.nav-aud { font-size: 14px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .phone-mascot { right: -8px; }
  /* 좁은 화면에선 강제 줄바꿈이 오히려 어색한 여백을 만든다 — keep-all에 맡긴다. */
  .br-desk { display: none; }
}
