/* 한끼PASS 대문(랜딩) — 고객 브랜드 덱을 그대로 웹으로 옮긴 화면.
 *
 * 앱 내부 화면(app.css)의 "종이 장부" 톤과 일부러 다르다. 여기는 소개 화면이고,
 * 색·간격 토큰을 공유하지 않는다. 이 파일을 고쳐도 내부 화면은 영향받지 않는다.
 * 반대로 app.css 를 고쳐도 이 화면은 그대로다.
 *
 * 기준 폭은 휴대폰이다(식당 직원·직원 본인이 폰으로 연다). 900px 이상에서만
 * 2단으로 벌린다.
 */

@font-face {
  font-family: "Pretendard KO";
  src: url("/static/fonts/pretendard-ko-var.woff2?v=1.1.0") format("woff2-variations"),
       url("/static/fonts/pretendard-ko-var.woff2?v=1.1.0") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #00a063;
  --green-d: #00814f;
  --green-l: #e3f3ea;
  --ink: #0f2e38;      /* 짙은 청록 — 어두운 패널과 제목 */
  --ink-2: #3c5560;
  --ink-3: #6d838c;
  --mint: #eaf5ef;     /* 페이지 바탕 */
  --cream: #f7f4ee;
  --white: #ffffff;
  --line: #d8e7de;
  --shadow: 0 18px 40px rgba(15, 46, 56, 0.08);
  --font: "Pretendard KO", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.br-m { display: none; }

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.28; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green);
  text-transform: uppercase;
}

.lead { margin: 12px 0 0; color: var(--ink-3); font-size: 14.5px; }

/* ---------------------------------------------------------------- 로고 / 버튼 */

.lp-mark {
  display: inline-grid;
  place-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  flex: none;
}
.lp-mark b { display: block; font-weight: 700; }

.lp-logo { display: inline-flex; align-items: center; gap: 10px; }
.lp-word { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.pill:hover { background: var(--green-d); }
.pill:active { transform: translateY(1px); }
.pill-sm { padding: 9px 16px; font-size: 13.5px; }
.pill-lg { padding: 14px 26px; font-size: 15.5px; }

/* ---------------------------------------------------------------- 상단바 */

.lp-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(234, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 46, 56, 0.06);
}
.lp-top-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-topnav { display: none; gap: 22px; margin-left: 26px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.lp-topnav a:hover { color: var(--green); }
.lp-top-cta { margin-left: auto; }

/* ---------------------------------------------------------------- 1. 히어로 */

.lp-hero { display: flex; flex-direction: column; background: var(--ink); }
.hero-panel { padding: 44px 20px 40px; }
.hero-copy { max-width: 1120px; margin: 0 auto; }

.lp-hero h1 { color: #fff; font-size: 34px; font-weight: 800; }
.lp-hero h1 em { color: #22c98a; font-style: normal; }
.hero-sub { margin: 18px 0 26px; color: #b9cdd4; font-size: 15px; line-height: 1.7; }
.hero-caption { margin: 18px 0 0; color: #7f9aa3; font-size: 12.5px; letter-spacing: 0.02em; }

.hero-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }

/* ---------------------------------------------------------------- 2. 진입 */

.lp-entry { padding: 52px 0 56px; background: var(--mint); }
.lp-entry h2 { font-size: 25px; }

.entry-grid { display: grid; gap: 12px; margin-top: 26px; }

.entry-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.entry-card:hover { border-color: var(--green); transform: translateY(-2px); }
.entry-no {
  display: inline-block;
  background: var(--green-l);
  color: var(--green-d);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 6px;
}
.entry-name { display: block; margin-top: 12px; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.entry-sub { display: block; margin-top: 2px; font-size: 12.5px; color: var(--green-d); font-weight: 700; }
.entry-desc { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-3); line-height: 1.65; }
.entry-go { display: block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--green); }

.entry-more { margin-top: 14px; display: grid; gap: 12px; }
.entry-emp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
}
.entry-emp b { font-size: 17px; font-weight: 800; }
.entry-emp span { font-size: 13.5px; color: #b9cdd4; }
.entry-emp .entry-go { margin: 0 0 0 auto; color: #22c98a; }
.entry-emp:hover { background: #133845; }

.entry-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #f3faf6;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}
.entry-note b { color: var(--ink); }

/* ---------------------------------------------------------------- 3. 식판 */

.lp-tray { display: flex; flex-direction: column; background: var(--cream); }
.tray-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.tray-photo img { width: 100%; height: 100%; object-fit: cover; }
.tray-panel { padding: 40px 20px 44px; }
.tray-copy { max-width: 460px; margin: 0 auto; }
.lp-tray h2 { font-size: 25px; font-weight: 800; }
.lp-tray .rule { display: block; width: 34px; height: 3px; border-radius: 2px; background: var(--green); margin: 18px 0; }
.lp-tray p { margin: 0; color: var(--ink-3); font-size: 14.5px; line-height: 1.75; }
.lp-tray .flow { margin-top: 22px; color: var(--green-d); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- 4. 기능 */

.lp-features { padding: 56px 0 58px; background: var(--mint); }
.lp-features h2 { font-size: 25px; font-weight: 800; }

.feat-grid { display: grid; gap: 12px; margin-top: 28px; }
.feat {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 14px;
  padding: 20px;
}
.feat-no {
  display: inline-grid;
  place-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.feat h3 { margin: 12px 0 6px; font-size: 17.5px; font-weight: 800; }
.feat p { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.7; }

.compare { display: grid; gap: 10px; margin-top: 30px; }
.cmp { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.cmp h3 { font-size: 15.5px; font-weight: 800; }
.cmp ul { margin: 12px 0 0; padding: 0; list-style: none; }
.cmp li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-2); padding: 5px 0; }
.cmp .x { color: #c0555d; font-weight: 700; }
.cmp .v { color: var(--green); font-weight: 700; }
.cmp-old { background: #f6f6f4; }
.cmp-new { background: #eef8f2; border-color: #bfe3ce; }
.cmp-arrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--green-d); }
.cmp-arrow span { font-size: 20px; font-weight: 700; }
.cmp-arrow small { font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-3); }

/* ---------------------------------------------------------------- 5. 정산 예시 */

.lp-settle { padding: 56px 0 60px; background: var(--white); }
.lp-settle h2 { font-size: 25px; font-weight: 800; }
.settle-head { display: flex; flex-direction: column; gap: 14px; }
.settle-pills { margin: 0; color: var(--green-d); font-weight: 700; font-size: 13.5px; }

.monitor { margin: 28px 0 0; }
.monitor-screen {
  display: flex;
  background: var(--ink);
  border-radius: 16px;
  padding: 10px;
  overflow: hidden;
}
.mock-side { display: none; width: 168px; flex: none; padding: 16px 12px; color: #dbe8ec; }
.mock-brand { font-size: 15px; font-weight: 800; color: #fff; padding: 0 8px 14px; }
.mock-side ul { margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.mock-side li { padding: 9px 12px; border-radius: 9px; color: #9fb8c0; }
.mock-side li.on { background: var(--green); color: #fff; font-weight: 700; }

.mock-main { flex: 1; min-width: 0; background: #fbfdfc; border-radius: 10px; padding: 16px 14px; }
.mock-top { display: flex; align-items: baseline; gap: 10px; }
.mock-top b { font-size: 15px; font-weight: 800; }
.mock-done { margin-left: auto; color: var(--green); font-size: 12px; font-weight: 700; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.mock-stat { border: 1px solid #e4ece8; border-radius: 10px; padding: 10px 10px 9px; background: #fff; }
.mock-stat span { display: block; font-size: 11px; color: var(--ink-3); }
.mock-stat b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.04em; }
.mock-stat i { font-size: 10.5px; font-style: normal; color: var(--ink-3); }

.mock-tbl-title { margin: 16px 0 8px; font-size: 13px; font-weight: 800; }
.mock-tbl { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.mock-tbl th { background: #eef4f1; color: var(--ink-2); font-weight: 700; text-align: left; padding: 7px 8px; }
.mock-tbl td { padding: 8px; border-bottom: 1px solid #edf2ef; color: var(--ink-2); }
.mock-tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.mock-tbl .st { text-align: right; color: var(--green); font-weight: 700; }

.monitor-stand {
  display: block;
  width: 128px;
  height: 12px;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
}
.monitor-note { margin: 16px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
.sample {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fff2d8;
  color: #8a6212;
  font-size: 11.5px;
  font-weight: 800;
}

/* ---------------------------------------------------------------- 6. 4단계 */

.lp-steps { padding: 56px 0 58px; background: var(--mint); }
.lp-steps h2 { font-size: 25px; font-weight: 800; }
.steps { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}
.step-no { display: block; color: var(--green); font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; }
.steps b { display: block; margin-top: 4px; font-size: 16.5px; font-weight: 800; }
.steps span:last-child { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }

/* ---------------------------------------------------------------- 7. 마무리 */

.lp-closing { position: relative; background: var(--ink); }
.closing-photo { position: absolute; inset: 0; }
.closing-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.closing-copy {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 62px 20px 66px;
}
.lp-closing h2 { color: #fff; font-size: 27px; font-weight: 800; }
.lp-closing h2 em { color: #22c98a; font-style: normal; }
.lp-closing p { margin: 18px 0 26px; color: #c1d3d9; font-size: 14.5px; line-height: 1.75; }
.closing-caption { margin: 18px 0 0 !important; color: #83a0a8 !important; font-size: 12.5px !important; }

/* ---------------------------------------------------------------- 푸터 */

.lp-foot { background: #0a222a; color: #9fb8c0; padding: 30px 0; }
.foot-in { display: flex; flex-direction: column; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand b { display: block; color: #fff; font-size: 15px; }
.foot-brand span { font-size: 12.5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.foot-links a:hover { color: #22c98a; }
.foot-ver { margin: 0; font-size: 12px; color: #5f7c85; }

/* ---------------------------------------------------------------- 태블릿+ */

@media (min-width: 700px) {
  .entry-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
  .cmp-arrow { flex-direction: column; gap: 2px; }
  .mock-side { display: block; }
  .mock-main { padding: 18px 18px 20px; }
  .mock-tbl { font-size: 12.5px; }
  .mock-stat b { font-size: 20px; }
}

/* ---------------------------------------------------------------- 데스크톱 */

@media (min-width: 900px) {
  body { font-size: 16px; }
  .br-m { display: inline; }
  .lp-topnav { display: flex; }

  .lp-hero { flex-direction: row; align-items: stretch; min-height: 520px; }
  .hero-panel { flex: 1 1 52%; display: flex; align-items: center; padding: 72px 20px; }
  .hero-copy { margin: 0 0 0 auto; max-width: 560px; padding-right: 48px; }
  .lp-hero h1 { font-size: 52px; }
  .hero-sub { font-size: 17px; }
  .hero-photo { flex: 1 1 48%; aspect-ratio: auto; }

  .lp-entry { padding: 76px 0 80px; }
  .lp-entry h2, .lp-features h2, .lp-settle h2, .lp-steps h2, .lp-tray h2 { font-size: 34px; }
  .lead { font-size: 16px; }
  .entry-card { padding: 26px 24px 22px; }
  .entry-more { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .entry-emp { padding: 22px 26px; }
  .entry-note { display: flex; align-items: center; }

  .lp-tray { flex-direction: row; min-height: 520px; }
  .tray-photo { flex: 1 1 55%; aspect-ratio: auto; }
  .tray-panel { flex: 1 1 45%; display: flex; align-items: center; padding: 60px 56px; }
  .tray-copy { margin: 0; }
  .lp-tray p { font-size: 16px; }

  .lp-features, .lp-settle, .lp-steps { padding: 84px 0 88px; }
  .feat { padding: 28px 26px; }
  .steps { grid-template-columns: repeat(4, 1fr); }

  .settle-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .settle-pills { text-align: right; font-size: 15px; }
  .monitor-screen { padding: 16px; border-radius: 22px; }
  .mock-main { padding: 24px; }
  .mock-tbl { font-size: 14px; }
  .mock-tbl th, .mock-tbl td { padding: 11px 12px; }
  .mock-stat { padding: 14px 16px; }
  .mock-stat b { font-size: 26px; }
  .monitor-stand { width: 190px; height: 16px; }

  .lp-closing h2 { font-size: 40px; }
  .closing-copy { padding: 104px 20px 108px; max-width: 1120px; }
  .lp-closing p { font-size: 16.5px; max-width: 520px; }

  .foot-in { flex-direction: row; align-items: center; }
  .foot-links { margin-left: auto; }
  .foot-ver { margin-left: 22px; }
}
