/* 판매 소개 페이지 (/intro) 전용 — 모바일 먼저. 색·글자는 앱 디자인 시스템(style.css :root, docs/design-system.md)과 같은 값. */
:root { --ink: #191F28; --ink-2: #4E5968; --muted: #5F6B7A; --line: #E5E8EB; --bg: #FFFFFF; --soft: #F4F5F7;
  --accent: #2B63D9; --accent-dark: #1E4FB8; --accent-soft: #EAF1FE; --ok: #0B7A4B; color-scheme: light;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px; font-family: var(--font);
  letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.i-in { max-width: 1120px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.pc { display: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; }

/* 위 메뉴 */
.i-top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.i-top .i-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.i-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; text-decoration: none; color: var(--ink); white-space: nowrap; }
.i-brand .ic { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--accent); color: #fff; vertical-align: 0; }
.i-top nav { display: flex; align-items: center; gap: 8px; }
.i-top nav a:not(.i-btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.i-top nav a:not(.i-btn):hover { color: var(--ink); }

/* 버튼 */
.i-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 14px 24px; border-radius: 12px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; text-align: center; border: 1px solid var(--accent); white-space: nowrap; }
.i-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.i-btn.sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.i-btn.ghost { background: var(--soft); color: var(--ink); border-color: var(--soft); }
.i-btn.ghost:hover { background: #E8EBEE; }
.i-btn.wide { display: flex; width: 100%; }
.i-btn.light { background: #fff; color: var(--accent-dark); border-color: #fff; }
.i-btn.light:hover { background: var(--accent-soft); }

/* 첫 화면 */
.i-hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); overflow: hidden; }
.i-hero-grid { display: grid; gap: 36px; align-items: center; }
.i-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-dark); background: var(--accent-soft); font-weight: 700; font-size: .875rem;
  margin: 0 0 16px; padding: 4px 12px; border-radius: 8px; }
.i-hero h1 { font-size: 2.1rem; line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.03em; font-weight: 800; }
.i-hero h1 em { font-style: normal; color: var(--accent); }
.i-lead { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 28px; }
.i-lead b { color: var(--ink); }
.i-cta { display: flex; flex-direction: column; gap: 10px; }
.i-note { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .9rem; margin: 18px 0 0; padding: 0; list-style: none; }
.i-note li { display: inline-flex; align-items: center; gap: 6px; }
.i-note .ic { color: var(--ok); }
.i-shot { position: relative; }
.i-shot .pc-shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(25,31,40,.12); background: #fff; }
.i-shot .phone-shot { display: none; }

/* 공통 구역 */
.i-sec { padding: 64px 0; }
.i-sec.alt { background: var(--soft); }
.i-kicker { color: var(--accent); font-weight: 700; font-size: .9rem; margin: 0 0 8px; }
.i-sec h2, .i-end h2 { font-size: 1.6rem; line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.02em; font-weight: 800; }
.i-sub { color: var(--ink-2); margin: 0 0 28px; font-size: 1.05rem; }
.i-small { color: var(--muted); font-size: .9rem; margin: 24px 0 0; }

/* 흐름 (예약 → 결제 → 매출 → 급여) */
.i-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.i-flow li { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; position: relative; }
.i-flow li span { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; }
.i-flow li span .ic { width: 24px; height: 24px; }
.i-flow li b { font-size: 1.05rem; }
.i-flow li small { color: var(--muted); font-size: .9rem; }
.i-flow li + li::before { content: ""; position: absolute; top: -13px; left: 39px; width: 2px; height: 14px; background: var(--line); }

/* 기능 카드 */
.i-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 8px; }
.i-grid article { min-width: 0; overflow-wrap: anywhere; background: #fff; border-radius: 16px; padding: 22px; border: 1px solid var(--line); }
.i-grid h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }
.i-grid h3 .ic { display: block; width: 44px; height: 44px; padding: 10px; margin-bottom: 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.i-grid p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.i-grid ul { margin: 12px 0 0; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.i-grid li { position: relative; padding-left: 18px; margin: 4px 0; }
.i-grid li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .5; }
.i-grid li .ic { width: 1em; height: 1em; vertical-align: -0.15em; }
.i-tag { font-size: .75rem; font-weight: 700; background: var(--soft); color: var(--ink-2); padding: 2px 8px; border-radius: 6px; vertical-align: middle; }

/* 요금 */
.center-k, .center-h { text-align: center; }
.i-price { max-width: 460px; margin: 8px auto 0; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; background: #fff;
  box-shadow: 0 16px 40px rgba(25,31,40,.08); }
.i-plan { margin: 0; font-weight: 700; color: var(--ink-2); }
.i-amount { margin: 8px 0 0; }
.i-amount b { font-size: 2.4rem; letter-spacing: -0.03em; font-weight: 800; }
.i-amount small { color: var(--muted); }
.i-trial { display: inline-block; margin: 10px 0 0; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; padding: 4px 12px; border-radius: 8px; font-size: .9rem; }
.i-price ul { list-style: none; padding: 0; margin: 20px 0 24px; color: var(--ink-2); font-size: .95rem; }
.i-price li { position: relative; padding-left: 26px; margin: 8px 0; }
.i-price li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B63D9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* 시작 단계 */
.i-steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.i-steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 64px; position: relative; }
.i-steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.i-steps b { display: block; font-size: 1.05rem; }
.i-steps span { color: var(--muted); font-size: .92rem; }

/* 자주 묻는 질문 */
.i-faq { margin-top: 8px; border-top: 1px solid var(--line); max-width: 820px; }
.i-faq details { border-bottom: 1px solid var(--line); }
.i-faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; list-style: none; position: relative; min-height: 44px; }
.i-faq summary::-webkit-details-marker { display: none; }
.i-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.i-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.i-faq p { margin: 0 0 18px; color: var(--ink-2); }

/* 마지막 안내 */
.i-end { padding: 64px 0; background: var(--ink); color: #fff; text-align: center; }
.i-end p { margin: 0 0 24px; color: rgba(255,255,255,.78); }
.i-foot { padding: 28px 0 40px; color: var(--muted); font-size: .88rem; text-align: center; }
.i-foot a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.i-foot p { margin: 6px 0 0; }

@media (min-width: 720px) {
  .pc { display: inline; }
  .i-hero { padding: 72px 0 64px; }
  .i-hero h1 { font-size: 3rem; }
  .i-cta { flex-direction: row; }
  .i-flow { grid-template-columns: repeat(4, 1fr); }
  .i-flow li { grid-template-columns: 1fr; grid-template-rows: auto; text-align: left; justify-items: start; row-gap: 6px; padding: 20px; }
  .i-flow li span { grid-row: auto; margin-bottom: 6px; }
  .i-flow li + li::before { top: 50%; left: -11px; width: 10px; height: 2px; }
  .i-grid { grid-template-columns: repeat(2, 1fr); }
  .i-steps { grid-template-columns: repeat(4, 1fr); }
  .i-steps li { padding: 64px 18px 18px; }
  .i-sec { padding: 88px 0; }
  .i-sec h2, .i-end h2 { font-size: 2rem; }
}
@media (min-width: 1000px) {
  .i-hero-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
  .i-grid { grid-template-columns: repeat(3, 1fr); }
  .i-shot .phone-shot { display: block; position: absolute; left: -48px; bottom: -28px; width: 190px; border-radius: 22px;
    border: 6px solid var(--ink); box-shadow: 0 24px 50px rgba(25,31,40,.25); background: #fff; }
}
@media (min-width: 1360px) {
  .i-shot { margin-right: -120px; }   /* 화면이 넉넉할 때만 그림을 오른쪽 끝까지 (1024~1359 에서는 잘려 보였음) */
}
@media (max-width: 359px) {
  .i-top nav { gap: 4px; }
  .i-brand { font-size: .95rem; }
  .i-btn.sm { padding: 8px 10px; }
  .i-hero h1 { font-size: 1.75rem; }
}
/* 갤럭시 폴드 1세대 접힘(280px) 등 아주 좁은 화면: 위 메뉴가 넘치지 않게 (2026-11-10) */
@media (max-width: 300px) {
  .i-top .i-in { gap: 6px; }
  .i-brand { font-size: .85rem; gap: 6px; }
  .i-brand .ic { width: 26px; height: 26px; padding: 5px; }
  .i-top nav a:not(.i-btn) { padding: 0 4px; }
  .i-btn.sm { padding: 8px 8px; font-size: .85rem; }
}
