/* Celer 랜딩: 브랜드 딥그린 한 색과 주문표(영수증) 모티프. 화면은 밝은 한 가지 모습으로 고정한다. */
:root {
  --green: #176b45;
  --green-deep: #0f4d31;
  --green-soft: #e6f0ea;
  --paper: #fbfaf6;
  --ink: #15201a;
  --muted: #56645b;
  --line: #dde4df;
  --white: #ffffff;
  --amber: #b45309;
  --radius: 14px;
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }

/* 상단 */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.site-header nav a:hover { color: var(--green); }
.nav-links { display: flex; gap: 22px; }
@media (max-width: 720px) { .nav-links { display: none; } }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease; }
.button:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:hover { transform: none; } }
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: var(--green-deep); }
.button-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.button-ghost:hover { border-color: var(--green); color: var(--green); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }

/* 첫 화면 */
.hero { padding-block: 72px 88px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } .hero { padding-block: 48px 64px; } }
.eyebrow { margin: 0 0 14px; color: var(--green); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; }
.hero h1 { margin: 0; font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.16; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { margin: 22px 0 32px; color: var(--muted); font-size: 1.1875rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 0.875rem; }

/* 주문표 모형 */
.tickets { position: relative; display: grid; justify-items: center; }
.ticket { width: min(100%, 340px); background: var(--white); border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -18px rgba(15, 77, 49, 0.35); padding: 22px 22px 18px; position: relative; }
.ticket::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 58px; border-top: 2px dashed var(--line); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; }
.ticket-number { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket-number small { font-size: 1rem; font-weight: 700; color: var(--muted); margin-right: 4px; }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; }
.status-ready { background: var(--green); color: var(--white); }
.status-scheduled { background: #efe7fb; color: #5b3a96; }
.ticket-pickup { margin: 14px 0 12px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ticket-pickup img { width: 26px; height: 26px; }
.ticket-pickup strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ticket ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; padding-bottom: 26px; }
.ticket li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; }
.ticket li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.ticket-foot { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--muted); padding-top: 4px; }
.ticket-foot b { color: var(--ink); font-variant-numeric: tabular-nums; }
.ticket-back { position: absolute; top: -22px; right: 2%; transform: rotate(5deg); width: min(78%, 280px); opacity: 0.9; padding: 16px 18px; }
.ticket-back::after { display: none; }
.ticket-back .ticket-number { font-size: 1.6rem; }
.ticket-front { margin-top: 70px; transform: rotate(-2deg); }
@media (max-width: 900px) { .ticket-back { right: 0; } }

/* 구역 공통 */
section { scroll-margin-top: 72px; }
.band { padding-block: 88px; }
.band-white { background: var(--white); border-block: 1px solid var(--line); }
.band-green { background: var(--green-deep); color: #e8f1ec; }
.section-head { max-width: 40rem; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.25; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 1.0625rem; }
.band-green .section-head p { color: #b9d3c4; }
@media (max-width: 720px) { .band { padding-block: 64px; } }

/* 손님 흐름: 실제 순서라 번호를 붙인다 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; padding: 26px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; margin-bottom: 16px; }
.steps h3 { margin: 0 0 8px; font-size: 1.1875rem; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 0.96875rem; }

/* 사장님 기능 */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--white); padding: 28px 26px; min-width: 0; }
.feature h3 { margin: 0 0 8px; font-size: 1.125rem; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.feature .tag { display: inline-block; margin-bottom: 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; color: var(--green); }

/* 요금 */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.price-card { background: var(--white); color: var(--ink); border-radius: 20px; padding: 32px; }
.price-card .plan { margin: 0; font-weight: 700; color: var(--green); }
.price { margin: 8px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price strong { font-size: clamp(2.6rem, 6vw, 3.4rem); letter-spacing: -0.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-weight: 600; }
.price-card .vat { margin: 0 0 22px; color: var(--muted); font-size: 0.875rem; }
.price-card ul { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.price-card li { padding-left: 28px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.price-card .button { width: 100%; }
.pricing-notes { display: grid; gap: 18px; }
.pricing-notes div { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 18px; }
.pricing-notes h3 { margin: 0 0 6px; font-size: 1.0625rem; color: var(--white); }
.pricing-notes p { margin: 0; color: #b9d3c4; font-size: 0.9375rem; }

/* 질문 */
.faq { display: grid; gap: 12px; max-width: 48rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* 문의 */
.contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 36px; border-radius: 20px; background: var(--green-soft); }
.contact h2 { margin: 0 0 6px; font-size: 1.5rem; letter-spacing: -0.02em; }
.contact p { margin: 0; color: var(--muted); }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.contact dt { color: var(--muted); font-size: 0.9375rem; }
.contact dd { margin: 0; font-weight: 700; }
.contact dd a { color: var(--ink); text-decoration: none; }

/* 하단 */
.site-footer { padding-block: 48px 64px; color: var(--muted); font-size: 0.875rem; }
.site-footer .wrap { display: grid; gap: 22px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.business { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.business span { white-space: nowrap; }
.intermediary { margin: 0; }

/* 법적 고지 문서 */
.doc { padding-block: 56px 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 2rem; letter-spacing: -0.03em; margin: 0 0 12px; }
.doc .pending { margin-top: 24px; padding: 20px 22px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--muted); }

/* 법적 고지 본문 */
.doc-meta { margin: 0 0 28px; color: var(--muted); font-size: 0.9375rem; }
.doc-toc { margin: 0 0 40px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; columns: 2 16rem; column-gap: 32px; font-size: 0.9375rem; }
.doc-toc a { color: var(--ink); text-decoration: none; display: block; padding: 3px 0; break-inside: avoid; }
.doc-toc a:hover { color: var(--green); }
.doc-body h2 { margin: 44px 0 12px; font-size: 1.25rem; letter-spacing: -0.02em; scroll-margin-top: 80px; }
.doc-body h3 { margin: 24px 0 8px; font-size: 1.0625rem; }
.doc-body p, .doc-body li { color: #2c3a32; }
.doc-body ol, .doc-body ul { padding-left: 1.4em; display: grid; gap: 6px; }
.doc-body ol ol, .doc-body ol ul { margin-top: 6px; }
.doc-body .note { padding: 14px 18px; background: var(--green-soft); border-radius: 10px; color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 34rem; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.doc-body th { background: var(--paper); font-weight: 700; white-space: nowrap; }
.doc-body tr:last-child td { border-bottom: 0; }
.doc-body .addendum { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
