/* 끼니저 랜딩 — 관리자 화면과 같은 SUIT 글꼴·초록(#16a34a)을 쓴다.
   꾸밈은 글자 크기·여백·가는 선·실제 화면 사진으로만 한다. 그라데이션·빛 번짐·장식 도형·이모지는 쓰지 않는다. */

@font-face { font-family: 'SUIT'; src: url('fonts/SUIT-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'SUIT'; src: url('fonts/SUIT-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'SUIT'; src: url('fonts/SUIT-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'SUIT'; src: url('fonts/SUIT-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ink: #0f1a14;
  --ink-2: #27312c;
  --text: #4b5550;
  --muted: #69726d; /* 흰 바탕 4.97:1, 옅은 바탕 4.61:1 — 읽어야 하는 작은 글자는 이 색까지만 옅게 */
  --faint: #a4aba7; /* 글자에는 쓰지 않는다(점·선 같은 장식만) */
  --field-line: #8a938e; /* 입력칸 테두리 — 흰 바탕에서 3:1 넘게 */
  --line: #e7ebe8;
  --line-2: #d8dfda;
  --bg: #ffffff;
  --bg-soft: #f5f7f5;
  --brand: #16a34a;
  --brand-600: #15803d;
  --brand-700: #166534;
  --brand-50: #edf8f0;
  --forest: #0f2318;
  --forest-line: rgba(255, 255, 255, 0.1);
  --on-dark: #b9c7be;
  --on-dark-brand: #7ed9a1;
  --shadow-shot: 0 1px 2px rgba(15, 26, 20, 0.05), 0 14px 32px -12px rgba(15, 26, 20, 0.14), 0 44px 80px -36px rgba(15, 26, 20, 0.22);
  --shadow-phone: 0 2px 4px rgba(15, 26, 20, 0.08), 0 30px 60px -22px rgba(15, 26, 20, 0.4);
  --gutter: 24px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-gutter: stable; }
/* 크게 보기가 열린 동안 뒤 페이지가 스크롤되지 않게 */
html:has(.zoom[open]) { overflow: hidden; }
body {
  margin: 0;
  font-family: 'SUIT', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── 머리줄 ───────────────────────────── */
.gnb {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.gnb.scrolled { border-bottom-color: var(--line); }
.gnb-in { height: 64px; display: flex; align-items: center; gap: 44px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; flex: none; }
.logo-mark { width: 28px; height: 28px; display: block; }
.logo-word { font-size: 20px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.gnb-nav { display: flex; gap: 30px; }
.gnb-nav a { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.gnb-nav a:hover { color: var(--ink); }
.gnb-nav .only-m { display: none; }
.gnb-act { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.gnb-login { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.gnb-login:hover { color: var(--ink); }
.gnb-menu { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.gnb-menu span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, top 0.2s ease; }
.gnb-menu span:first-child { top: 15px; }
.gnb-menu span:last-child { top: 23px; }
.gnb.open .gnb-menu span:first-child { top: 19px; transform: rotate(45deg); }
.gnb.open .gnb-menu span:last-child { top: 19px; transform: rotate(-45deg); }

/* ── 단추 ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 12px;
  font: inherit; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 17px; }
.btn-block { width: 100%; }
/* 흰 글자를 얹는 단추는 한 단계 진한 초록 — #16a34a 위 흰 글자는 3.3:1 이라 작은 글씨에 모자란다 */
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink-2); }

/* ── 공통 글자 ─────────────────────────── */
.eyebrow { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--brand-600); letter-spacing: -0.01em; }
.eyebrow-on-dark { color: var(--on-dark-brand); }
/* 업종 이름(도시락·샐러드·정기배송)은 가운뎃점에서 줄이 바뀌지 않게 한 덩이로 둔다 */
.nobr { white-space: nowrap; }
.sec { padding: 128px 0; }
.sec.soft { background: var(--bg-soft); }
.sec.dark { background: var(--forest); color: var(--on-dark); }
.sec-title { margin: 0; font-size: 44px; line-height: 1.26; font-weight: 800; letter-spacing: -0.042em; color: var(--ink); }
.dark .sec-title { color: #fff; }
.sec-lead { margin: 22px 0 0; max-width: 34em; font-size: 19px; line-height: 1.75; color: var(--text); }
.dark .sec-lead { color: var(--on-dark); }
.sec-head { margin-bottom: 64px; }
.sec-head-center { text-align: center; }
.sec-head-center .sec-lead { margin-left: auto; margin-right: auto; }
/* 마지막 줄에 「갑니다.」 한 낱말만 떨어지지 않게 */
p, li, figcaption { text-wrap: pretty; }

/* ── 첫 화면 ───────────────────────────── */
.hero {
  padding: 92px 0 0;
  /* 화면 사진 아래쪽 절반만 옅은 바탕에 걸치게 — 두 색을 끊어 붙인다(번지게 하지 않는다) */
  background: linear-gradient(var(--bg) 0 calc(100% - 300px), var(--bg-soft) calc(100% - 300px));
}
.hero-title { margin: 0; max-width: 15.5em; font-size: 60px; line-height: 1.2; font-weight: 800; letter-spacing: -0.048em; color: var(--ink); }
.hero-lead { margin: 26px 0 0; max-width: 35em; font-size: 20px; line-height: 1.75; color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.hero-note span { white-space: nowrap; }
.hero-note i { display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: var(--faint); vertical-align: middle; }
.hero-stage { position: relative; margin-top: 72px; }

/* ── 화면 사진 틀 ─────────────────────── */
.shot { margin: 0; position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(15, 26, 20, 0.09); border-radius: 14px; box-shadow: var(--shadow-shot); }
.shot img { display: block; width: 100%; height: auto; }
.shot-hero { border-radius: 16px; }
.shot-dark { border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); }
[data-zoom] { cursor: zoom-in; }

.phone { margin: 0; width: 260px; padding: 8px; border-radius: 40px; background: #0d1410; box-shadow: var(--shadow-phone); }
.phone-screen { overflow: hidden; border-radius: 33px; background: #fff; aspect-ratio: 390 / 844; }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-hero { position: absolute; right: -6px; bottom: -64px; width: 236px; }

/* ── 네 갈래 ───────────────────────────── */
.pillars { background: var(--bg-soft); padding: 120px 0 16px; }
.pillar-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.pillar-list li + li { border-left: 1px solid var(--line-2); }
.pillar-list a { display: block; height: 100%; padding: 28px 28px 12px; text-decoration: none; color: inherit; }
.pillar-list li:first-child a { padding-left: 0; }
.pl-no { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--brand-600); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.pillar-list strong { display: block; margin-bottom: 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.pillar-list a > span:last-child { display: block; font-size: 15px; line-height: 1.65; color: var(--muted); }
.pillar-list a:hover strong { color: var(--brand-600); }

/* ── 하루 흐름 ─────────────────────────── */
.flow-group { display: grid; grid-template-columns: 112px 1fr; gap: 32px; padding: 44px 0 40px; border-top: 1px solid var(--line); }
.flow-group:last-child { border-bottom: 1px solid var(--line); }
.flow-label { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1.3; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.flow-steps li { position: relative; padding-top: 30px; }
.flow-steps li::before { content: ''; position: absolute; top: 5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.flow-steps li:not(:last-child)::after { content: ''; position: absolute; top: 9px; left: 22px; right: -28px; height: 1px; background: var(--line-2); }
.fs-when { font-size: 14px; font-weight: 700; color: var(--brand-600); }
.flow-steps strong { display: block; margin: 4px 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); line-height: 1.35; }
.flow-steps p { margin: 0; font-size: 15.5px; line-height: 1.7; }

/* ── 기능 ─────────────────────────────── */
.feat { overflow: hidden; }
/* 화면 사진은 글 반대쪽으로 밀어 크게 보여 준다. 미는 폭은 본문 바깥 여백만큼(최대 140px) — 화면 밖으로 잘리지 않는다 */
.feat-split { --bleed: clamp(0px, (100vw - var(--max)) / 2, 140px); display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
/* 사진이 왼쪽인 단락도 사진 칸을 넓게 — 순서만 바꾸면 사진이 좁은 칸에 들어간다 */
@media (min-width: 1081px) {
  .feat-rev { grid-template-columns: 7fr 5fr; }
  /* 청구 제목은 길어서 글 칸이 좁으면 세 줄이 된다 — 반반으로 둔다 */
  #billing .feat-rev { grid-template-columns: 1fr 1fr; }
}
.feat-rev .feat-text { order: 2; }
.feat-rev .feat-media { order: 1; }
.feat-media { position: relative; min-width: 0; }
.feat-split:not(.feat-rev) .feat-media > .shot:first-child { width: calc(100% + var(--bleed)); }
.feat-rev .feat-media > .shot:first-child { width: calc(100% + var(--bleed)); margin-left: calc(var(--bleed) * -1); }
.feat-text { min-width: 0; }
.points { list-style: none; margin: 38px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.points li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.65; }
.points strong { display: block; margin-bottom: 3px; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.points-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin-top: 168px; border-top: 0; }
.points-row li { border-top: 1px solid var(--line-2); border-bottom: 0; padding-top: 22px; }

.shot-float { position: absolute; width: 50%; right: calc(min(92px, var(--bleed)) * -1); bottom: -64px; }
.phone-float { position: absolute; width: 216px; right: -80px; bottom: -72px; }
/* 사진이 왼쪽으로 밀린 단락(feat-rev)은 휴대폰을 글 쪽(오른쪽) 아래에 둔다 — 왼쪽에 두면 화면 밖으로 잘린다 */
.feat-rev .feat-media .phone-float { right: -36px; left: auto; bottom: -84px; }
/* 인사·급여 휴대폰 — 큰 화면들(직원 등록 단계 목록·직원 이름 칸)이 왼쪽에 중요한 것을 두어 오른쪽 아래에 둔다 */
.phone-float-l { left: auto; right: 24px; bottom: -96px; width: 200px; }

.feat-head { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; margin-bottom: 60px; }
.feat-head .sec-lead { margin: 0; }
.feat-wide { position: relative; }
.phone-side { position: absolute; right: 40px; bottom: -120px; width: 206px; }

.wide-card { margin: 0; }
.wide-card figcaption { margin-top: 22px; max-width: 46em; font-size: 16px; line-height: 1.7; }
.wide-card figcaption strong { display: block; margin-bottom: 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.wide-card + .duo { margin-top: 80px; }
.shot-float-tall { width: 40%; right: -44px; bottom: -104px; }
.shot-helper { width: 100%; max-width: 420px; justify-self: center; border-radius: 18px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 160px; }
.duo-tight { margin-top: 0; }
.duo-card { margin: 0; min-width: 0; }
.duo-card .shot { aspect-ratio: 16 / 10; }
.duo-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.duo-card figcaption { margin-top: 22px; font-size: 16px; line-height: 1.7; }
.duo-card figcaption strong { display: block; margin-bottom: 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }

/* ── AI 끼니저 ─────────────────────────── */
.ai-in { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.asks { list-style: none; margin: 38px 0 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.asks .ask {
  margin: 0; padding: 12px 18px; border: 1px solid var(--forest-line); border-radius: 14px 14px 14px 4px;
  background: rgba(255, 255, 255, 0.04); font: inherit; font-size: 16px; line-height: 1.5; color: #e4ede7;
  text-align: left; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.asks .ask:hover { border-color: rgba(255, 255, 255, 0.3); }
.asks .ask[aria-pressed='true'] { border-color: var(--on-dark-brand); background: rgba(126, 217, 161, 0.13); color: #fff; }
.asks .ask:focus-visible { outline-color: var(--on-dark-brand); }

/* 눌러서 옆 화면을 바꾸는 항목(인사·급여) — 고른 줄은 왼쪽 초록 줄과 흰 바탕 */
.points-tabs li { padding: 0; }
.points-tabs button {
  display: block; width: 100%; margin: 0; padding: 18px 16px 18px 14px;
  border: 0; border-left: 3px solid transparent; background: none;
  font: inherit; font-size: 16px; line-height: 1.65; color: var(--text); text-align: left; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.points-tabs button:hover { background: rgba(15, 26, 20, 0.035); }
.points-tabs button[aria-pressed='true'] { border-left-color: var(--brand); background: #fff; }
.points-tabs button[aria-pressed='true'] strong { color: var(--brand-700); }
.points-tabs button span { display: block; }
.tab-hint { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.dark .tab-hint { color: var(--on-dark); }

/* 사진을 갈아 끼우는 동안 잠깐 흐리게 — 다 받으면 돌아온다 */
.shot img, .phone-screen img { transition: opacity 0.18s ease; }
.is-swapping img { opacity: 0.35; }
/* 인사·급여 큰 화면은 사진마다 비율이 조금씩 달라도 칸 높이가 들썩이지 않게 고정한다.
   잘리지 않게 통째로 넣는다(직원 등록 창은 1.49 — 오른쪽에 흰 띠가 남는다, 바탕이 흰색이라 어색하지 않다) */
.feat-media-hr > .shot { aspect-ratio: 1960 / 1206; }
.feat-media-hr > .shot img { height: 100%; object-fit: contain; object-position: left top; }
@media (prefers-reduced-motion: reduce) { .shot img, .phone-screen img { transition: none; } }

/* ── 휴대폰 ───────────────────────────── */
.app-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.app-card { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.app-card .phone { width: 100%; max-width: 268px; }
.app-card figcaption { margin-top: 30px; max-width: 17em; text-align: center; font-size: 15.5px; line-height: 1.65; }
.app-card figcaption strong { display: block; margin-bottom: 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }

/* ── 여러 지점 ─────────────────────────── */
.cols3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols3 li { padding-top: 22px; border-top: 2px solid var(--ink); }
.cols3 strong { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.cols3 p { margin: 10px 0 0; font-size: 16px; line-height: 1.7; }

/* ── 만든 곳 ───────────────────────────── */
.story-title { margin: 0; font-size: 52px; line-height: 1.24; font-weight: 800; letter-spacing: -0.048em; color: #fff; }
.story-body { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; }
.story-body p { margin: 0; font-size: 18px; line-height: 1.85; color: var(--on-dark); }

/* ── 요금 ─────────────────────────────── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.price-card { padding: 36px; border: 1px solid var(--line-2); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(15, 26, 20, 0.04), 0 24px 48px -32px rgba(15, 26, 20, 0.18); }
.pc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pc-label { font-size: 16px; font-weight: 700; color: var(--ink); }
.pc-count { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-range { --p: 18%; width: 100%; height: 28px; margin: 18px 0 6px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.pc-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--brand) 0 var(--p), var(--line) var(--p) 100%); }
.pc-range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.pc-range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--brand); }
.pc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(15, 26, 20, 0.18); }
.pc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(15, 26, 20, 0.18); }
.pc-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pc-opts { margin-top: 28px; border-top: 1px solid var(--line); }
.pc-opt { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.pc-opt strong { display: block; font-size: 15.5px; color: var(--ink); }
.pc-opt input[type='checkbox'] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.pc-opt-select { justify-content: space-between; cursor: default; }
.pc-opt-select > span { min-width: 0; }
.pc-opt select { flex: none; height: 42px; padding: 0 34px 0 12px; border: 1px solid var(--field-line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2369726d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.pc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 26px; }
.pc-total > span { font-size: 15px; font-weight: 700; color: var(--ink); }
.pc-total strong { font-size: 40px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-help { margin: 2px 0 26px; text-align: right; font-size: 13.5px; color: var(--muted); }

.tier { width: 100%; border-collapse: collapse; font-size: 16px; }
.tier caption { padding-bottom: 12px; text-align: left; font-size: 15px; font-weight: 700; color: var(--ink); }
.tier th { padding: 10px 0; border-bottom: 1px solid var(--line-2); text-align: left; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tier td { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); transition: color 0.15s ease; }
.tier th:last-child, .tier td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tier td:last-child { font-weight: 700; }
.tier tr.on td { color: var(--brand-600); }
.tier tr.on td:first-child { font-weight: 700; }
.incl-title { margin: 40px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.incl { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.incl li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.55; }
.incl li::before { content: ''; position: absolute; left: 3px; top: 0.36em; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.fine { margin: 30px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ── 자주 묻는 질문 ─────────────────────── */
.faq-in { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { position: relative; padding: 24px 44px 24px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-list details p { margin: -4px 0 26px; padding-right: 44px; font-size: 16px; line-height: 1.75; }

/* ── 문의 ─────────────────────────────── */
.contact-in { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
.contact-form { padding: 36px; border: 1px solid var(--line-2); border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(15, 26, 20, 0.04), 0 24px 48px -32px rgba(15, 26, 20, 0.18); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.field .opt { margin-left: 4px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid var(--field-line); border-radius: 12px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2369726d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { height: auto; padding: 13px 14px; line-height: 1.6; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field-err { margin: 0; font-size: 14px; line-height: 1.5; color: #c2410c; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 8px; font-size: 14px; line-height: 1.6; color: var(--text); cursor: pointer; }
.agree input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.agree a { color: var(--ink); }
.agree.invalid input { outline: 2px solid #dc2626; outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree-note { margin: 0 0 22px 28px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.agree + .field-err { margin: 0 0 8px 28px; }
.form-msg { min-height: 1.6em; margin: 14px 0 0; text-align: center; font-size: 14.5px; }
/* 오류 문장은 칸 바로 아래에 찍히므로, 아래 안내 칸에는 화면 낭독기용으로만 남긴다 */
.form-msg.sr { clip-path: inset(50%); height: 1px; min-height: 0; overflow: hidden; margin: 0; }
.form-msg.err { color: #c2410c; }
.form-msg.ok { color: var(--brand-600); font-weight: 700; }

/* ── 바닥 ─────────────────────────────── */
.foot { padding: 52px 0 60px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 20px 48px; align-items: start; }
.logo-sm .logo-mark { width: 24px; height: 24px; }
.logo-sm .logo-word { font-size: 18px; }
.foot-brand p { margin: 10px 0 0; font-size: 14px; color: var(--muted); text-wrap: balance; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 4px; }
.foot-nav a { font-size: 14.5px; color: var(--text); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.foot-copy { grid-column: 1 / -1; margin: 18px 0 0; font-size: 13px; color: var(--muted); }

/* ── 크게 보기 ─────────────────────────── */
.zoom { width: auto; max-width: min(96vw, 1680px); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.zoom::backdrop { background: rgba(8, 14, 10, 0.82); }
.zoom img { display: block; max-width: min(96vw, 1680px); max-height: 90vh; width: auto; height: auto; border-radius: 12px; background: #fff; }
.zoom-close { position: fixed; top: 16px; right: 16px; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }

/* ── 나타나기 (스크립트가 있을 때만) ─────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ── 좁은 화면 ─────────────────────────── */
@media (max-width: 1240px) {
  .phone-hero { right: 8px; }
  .phone-float { right: -24px; }
  .feat-rev .feat-media .phone-float { right: -24px; }
  .shot-float-tall { right: -24px; }
}

@media (max-width: 1080px) {
  .gnb-in { gap: 28px; }
  .gnb-nav { gap: 22px; }
  .sec { padding: 104px 0; }
  .hero-title { font-size: 52px; }
  .sec-title { font-size: 38px; }
  .feat-split, .feat-head, .ai-in, .faq-in, .contact-in, .price-grid { grid-template-columns: 1fr; gap: 48px; }
  .feat-head { row-gap: 22px; }
  .feat-rev .feat-text, .feat-rev .feat-media { order: initial; }
  .feat-split:not(.feat-rev) .feat-media > .shot:first-child,
  .feat-rev .feat-media > .shot:first-child { width: 100%; margin-left: 0; }
  .feat-media { margin-right: 40px; }
  .feat-rev .feat-media .phone-float, .phone-float { left: auto; right: -40px; }
  .phone-float-l { left: auto; right: -40px; width: 216px; }
  .shot-float { right: -40px; }
  .shot-float-tall { bottom: -64px; }
  .phone-hero { width: 200px; bottom: -48px; }
  .app-row { gap: 24px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .flow-steps li:nth-child(2)::after { display: none; }
  .pillar-list { grid-template-columns: repeat(2, 1fr); }
  .pillar-list li:nth-child(3) { border-left: 0; }
  .pillar-list li:nth-child(3) a { padding-left: 0; }
  .pillar-list li:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .story-title { font-size: 44px; }
}

@media (max-width: 900px) {
  .gnb-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 4px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .gnb-nav a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .gnb-nav a:last-child { border-bottom: 0; }
  .gnb-nav .only-m { display: block; }
  .gnb.open .gnb-nav { display: flex; }
  .gnb.open { border-bottom-color: var(--line); }
  .gnb-menu { display: block; }
  .gnb-login { display: none; }
  .gnb-act { gap: 6px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  br.pc { display: none; }
  .sec { padding: 80px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-title { font-size: 29px; line-height: 1.32; letter-spacing: -0.04em; }
  .sec-lead { margin-top: 16px; font-size: 16.5px; line-height: 1.72; }
  .eyebrow { margin-bottom: 12px; font-size: 14px; }

  .hero { padding-top: 48px; background: linear-gradient(var(--bg) 0 calc(100% - 120px), var(--bg-soft) calc(100% - 120px)); }
  .hero-title { font-size: 34px; line-height: 1.3; letter-spacing: -0.045em; }
  .hero-title .ln { display: block; }
  .sec-title, .story-title, .flow-steps strong { text-wrap: balance; }
  /* 제목은 꾸미는 말과 받는 말 사이에서 끊기지 않게 — 조각(.ln)째로 줄을 넘긴다 */
  .sec-title .ln, .story-title .ln { display: inline-block; }
  .hero-lead { margin-top: 18px; font-size: 16.5px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn { flex: 1 1 0; min-width: 0; height: 52px; padding: 0 12px; font-size: 16px; }
  .hero-note { font-size: 13.5px; line-height: 1.8; }
  .hero-stage { margin-top: 40px; padding-right: 64px; }
  .shot { border-radius: 10px; }
  .phone { padding: 5px; border-radius: 26px; }
  .phone-screen { border-radius: 22px; }
  .phone-hero { width: 112px; right: var(--gutter); bottom: -36px; }

  .pillars { padding: 72px 0 0; }
  .pillar-list { grid-template-columns: 1fr; }
  .pillar-list li + li { border-left: 0; border-top: 1px solid var(--line-2); }
  .pillar-list a, .pillar-list li:first-child a, .pillar-list li:nth-child(3) a { padding: 20px 0; }
  .pillar-list strong { font-size: 19px; }
  .pl-no { margin-bottom: 6px; }

  .flow-group { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .flow-label { font-size: 22px; }
  .flow-steps { grid-template-columns: 1fr; gap: 26px; padding-left: 4px; }
  .flow-steps li { padding: 0 0 0 26px; }
  .flow-steps li::before { top: 7px; }
  .flow-steps li:not(:last-child)::after, .flow-steps li:nth-child(2)::after { display: block; top: 22px; bottom: -22px; left: 4px; right: auto; width: 1px; height: auto; }
  .flow-steps strong { font-size: 19px; margin: 2px 0 4px; }
  .flow-steps p { font-size: 15px; }

  .feat-split, .feat-head, .ai-in, .faq-in, .contact-in, .price-grid { gap: 36px; }
  .feat-head { row-gap: 16px; margin-bottom: 36px; }
  .feat-media { margin-right: 0; padding-bottom: 8px; }
  .points { margin-top: 28px; }
  .points li { padding: 15px 0; font-size: 15px; }
  .points strong { font-size: 16px; }
  .points-row { grid-template-columns: 1fr; margin-top: 64px; }
  .points-row li:first-child { border-top: 1px solid var(--line-2); }
  .points-row li + li { border-top: 1px solid var(--line); }
  .shot-float { position: relative; right: auto; bottom: auto; width: 82%; margin: -36px 0 0 auto; }
  .shot-float-tall { width: 58%; }
  .wide-card + .duo { margin-top: 48px; }
  .wide-card figcaption { margin-top: 16px; font-size: 15px; }
  .wide-card figcaption strong { font-size: 17px; }
  .shot-helper { max-width: 320px; }
  .phone-float, .feat-rev .feat-media .phone-float, .phone-float-l { width: 116px; right: -4px; left: auto; bottom: -28px; }
  /* 납작한 배송 관리 사진 위로 휴대폰이 솟아 위 글을 가리지 않게 — 사진 아래로 내려 조금만 겹친다 */
  .phone-side { position: relative; right: auto; bottom: auto; width: 150px; margin: -48px 8px 0 auto; }
  .duo { grid-template-columns: 1fr; gap: 44px; margin-top: 88px; }
  .duo-tight { margin-top: 0; }
  .duo-card figcaption { margin-top: 16px; font-size: 15px; }
  .duo-card figcaption strong { font-size: 17px; }
  .asks .ask { font-size: 15px; }
  .points-tabs li { padding: 0; }
  .points-tabs button { padding: 15px 12px 15px 12px; font-size: 15px; }
  .app-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .app-row::-webkit-scrollbar { display: none; }
  .app-card { scroll-snap-align: center; }
  .app-card .phone { width: 100%; max-width: 250px; }
  .cols3 { grid-template-columns: 1fr; gap: 28px; }
  .story-title { font-size: 31px; line-height: 1.32; }
  .story-body { grid-template-columns: 1fr; gap: 18px; margin-top: 26px; }
  .story-body p { font-size: 16px; }
  .price-card, .contact-form { padding: 24px 20px; border-radius: 16px; }
  .pc-opt-select { flex-direction: column; align-items: stretch; gap: 10px; }
  .pc-opt select { width: 100%; }
  .pc-total strong { font-size: 32px; }
  .incl { grid-template-columns: 1fr; }
  .faq-list summary { padding: 20px 36px 20px 0; font-size: 16.5px; }
  .faq-list details p { padding-right: 8px; font-size: 15px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot-in { grid-template-columns: 1fr; }

  /* 크게 보기: 휴대폰에서는 사진을 원래 크기의 절반(글자가 읽히는 크기)으로 띄우고 손가락으로 밀어 본다 */
  .zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; overflow: auto; overscroll-behavior: contain; }
  .zoom img { max-width: none; max-height: none; margin: 64px 16px 24px; border-radius: 8px; }

  /* 손가락으로 누르는 곳은 44px 넘게 */
  .gnb-act .btn-sm { height: 44px; }
  .foot-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .pc-opt select { height: 44px; }
  .pc-range { display: block; height: 44px; margin: 10px 0 0; }
}

@media (max-width: 900px) {
  .gnb-menu { width: 44px; height: 44px; }
  .gnb-menu span:first-child { top: 17px; }
  .gnb-menu span:last-child { top: 25px; }
  .gnb.open .gnb-menu span:first-child, .gnb.open .gnb-menu span:last-child { top: 21px; }
}

/* 윈도우 고대비 모드 — 배경색으로 그린 줄은 지워지므로 글자색으로 다시 그린다(webkit·moz 는 규칙을 따로 둔다) */
@media (forced-colors: active) {
  .gnb-menu span { background: CanvasText; }
  .pc-range::-webkit-slider-runnable-track { background: CanvasText; }
  .pc-range::-moz-range-track { background: CanvasText; }
  .pc-range::-moz-range-progress { background: CanvasText; }
}
