/* 공개 페이지 공통(소개 / 가입 / 설치) — 그누보드를 들이면 테마로 옮긴다. 외부 라이브러리 없음(글꼴만 CDN, 없으면 맑은 고딕) */
:root {
  --bg: #ffffff; --bg2: #f6f7fb; --card: #ffffff; --text: #141a2e; --muted: #5b6478; --line: #e4e7ef;
  --brand: #ff5a1f; --brand-2: #ff8a3d; --brand-ink: #ffffff; --brand-soft: #fff1ea;
  --navy: #141a2e; --navy-2: #232c4a; --ok: #12a150; --bad: #d93025;
  --baemin: #19b5ae; --coupang: #2f6fe4; --yogiyo: #e8364f; --etc: #8a6cf0;
  --shadow: 0 18px 50px -20px rgba(20, 26, 46, .35); --radius: 16px;
  --req-bg: #fff6d6; --req-ink: #7a5600; --note-n: var(--navy);
  color-scheme: light;
}
/* 다크: 사용자가 고른 경우(data-theme="dark") 또는 자동일 때 기기 설정이 다크면. theme.js 가 data-theme 를 붙인다 */
:root[data-theme="dark"] {
  --bg: #0f1320; --bg2: #151a2a; --card: #1a2033; --text: #eef1f8; --muted: #a1a9bd; --line: #2b3350;
  --brand-soft: #34201a; --navy: #0b0f1a; --navy-2: #1a2136; --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  --req-bg: #3a3014; --req-ink: #f3d27a; --note-n: #1a2136; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0f1320; --bg2: #151a2a; --card: #1a2033; --text: #eef1f8; --muted: #a1a9bd; --line: #2b3350;
    --brand-soft: #34201a; --navy: #0b0f1a; --navy-2: #1a2136; --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
    --req-bg: #3a3014; --req-ink: #f3d27a; --note-n: #1a2136; color-scheme: dark;
  }
}
.theme-btn { width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); }
.theme-btn:hover { color: var(--text); }
.theme-btn svg { width: 18px; height: 18px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
  font: 16px/1.65 "Pretendard Variable", Pretendard, -apple-system, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  word-break: keep-all; overflow-wrap: anywhere;
}
a { color: var(--brand); }
img, svg { max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* 머리 */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; color: #fff; }
.logo-mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 20px -10px var(--brand); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px var(--brand); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn.light { background: #fff; color: var(--navy); box-shadow: none; }
.btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn.lg { padding: 16px 26px; font-size: 17px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn svg { width: 18px; height: 18px; }

/* 첫 화면 */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; background:
  radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
  radial-gradient(700px 380px at 0% 100%, color-mix(in srgb, var(--coupang) 10%, transparent), transparent 70%), var(--bg); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.2; letter-spacing: -.035em; margin: 18px 0 18px; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14px; }
.trust > span { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); }

/* POS 화면 모형(가상의 주문) */
.mock { position: relative; }
.window { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg2); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.window-bar b { margin-left: 8px; font-weight: 600; }
.tabs { display: flex; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; overflow: hidden; }
.tabs span { padding: 7px 10px; color: var(--muted); white-space: nowrap; }
.tabs span.on { color: var(--text); font-weight: 700; box-shadow: inset 0 -2px 0 var(--brand); }
.orders { padding: 12px; display: grid; gap: 10px; }
.order { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.order.new { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: color-mix(in srgb, var(--brand) 6%, var(--card)); }
.order .menu { font-weight: 700; font-size: 14px; }
.order .meta { grid-column: 2; font-size: 12px; color: var(--muted); }
.order .price { font-weight: 800; font-size: 15px; text-align: right; }
.order .state { grid-column: 3; justify-self: end; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--bg2); color: var(--muted); }
.order.new .state { background: var(--brand); color: #fff; }
.order .req { grid-column: 2 / 4; font-size: 12px; padding: 4px 8px; border-radius: 6px; background: var(--req-bg); color: var(--req-ink); }
.chip { display: inline-block; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 7px; color: #fff; white-space: nowrap; }
.chip.baemin { background: var(--baemin); } .chip.coupang { background: var(--coupang); } .chip.yogiyo { background: var(--yogiyo); } .chip.etc { background: var(--etc); }
.float-receipt { position: absolute; right: -18px; bottom: -34px; width: 190px; padding: 14px; background: #fffef8; color: #222; border-radius: 6px; box-shadow: var(--shadow);
  font: 11px/1.5 ui-monospace, Consolas, "D2Coding", monospace; transform: rotate(3deg); }
.float-receipt .t { text-align: center; font-weight: 800; font-size: 13px; border-bottom: 1px dashed #bbb; padding-bottom: 6px; margin-bottom: 6px; font-family: inherit; }
.float-receipt .r { display: flex; justify-content: space-between; }
.float-receipt .hl { background: #222; color: #fff; padding: 2px 4px; margin: 6px 0; text-align: center; }
.float-toast { position: absolute; left: -22px; top: 38px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 12px; box-shadow: var(--shadow); font-size: 13px; }
.float-toast b { color: var(--brand-2); }
.ping { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 var(--brand-2); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .ping { animation: none; } .btn { transition: none; } }

/* 배달앱 줄 */
.apps { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.apps .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.apps p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.apps .app-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; width: 100%; }
.app-list { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.app-list span { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.app-list span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: var(--etc); vertical-align: 1px; }
.app-list .baemin::before { background: var(--baemin); } .app-list .coupang::before { background: var(--coupang); } .app-list .yogiyo::before { background: var(--yogiyo); }

/* 구역 */
section.block { padding: 96px 0; }
section.alt { background: var(--bg2); }
.kicker { color: var(--brand); font-weight: 800; font-size: 14px; letter-spacing: .04em; }
h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.3; letter-spacing: -.03em; margin: 10px 0 14px; font-weight: 800; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 44px; max-width: 40em; }
.center .sub { margin-left: auto; margin-right: auto; }

/* 고민 → 해결 */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.pain .before { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--bad) 60%, transparent); font-size: 15px; }
.pain .after { font-weight: 800; font-size: 18px; margin-top: 8px; display: flex; gap: 8px; align-items: flex-start; }
.pain .after svg { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.pain p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }

/* 기능 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.feature li::before { content: "✓ "; color: var(--ok); font-weight: 800; }

/* 영수증 통일 그림 */
.unify { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.messy { position: relative; height: 300px; }
.paper { position: absolute; width: 170px; padding: 12px; background: #fff; color: #333; border-radius: 4px; box-shadow: 0 10px 30px -14px rgba(0,0,0,.45); font: 11px/1.5 ui-monospace, Consolas, monospace; }
.paper b { display: block; margin-bottom: 4px; }
.paper.p1 { left: 0; top: 10px; transform: rotate(-7deg); }
.paper.p2 { left: 32%; top: 70px; transform: rotate(4deg); font-size: 10px; }
.paper.p3 { left: 12%; top: 150px; transform: rotate(-2deg); }
.arrow { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px var(--brand); }
.arrow svg { width: 28px; height: 28px; }
.clean { justify-self: start; width: 260px; padding: 18px; background: #fffef8; color: #1c1c1c; border-radius: 6px; box-shadow: var(--shadow); font: 12px/1.6 ui-monospace, Consolas, monospace; }
.clean .t { text-align: center; font-weight: 800; font-size: 15px; }
.clean .s { text-align: center; color: #666; border-bottom: 1px dashed #aaa; padding-bottom: 8px; margin-bottom: 8px; }
.clean .r { display: flex; justify-content: space-between; }
.clean .o { color: #555; padding-left: 10px; }
.clean .hl { background: #1c1c1c; color: #fff; padding: 4px 6px; margin: 8px 0; }
.clean .sum { border-top: 1px dashed #aaa; margin-top: 8px; padding-top: 8px; font-weight: 800; display: flex; justify-content: space-between; }
.unify-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.note { display: flex; gap: 12px; }
.note .n { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--note-n); color: #fff; font-weight: 800; font-size: 14px; }
.note p { margin: 0; color: var(--muted); font-size: 15px; }
.note b { color: var(--text); }

/* 이용 순서 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* 요금 */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card { padding: 34px; border-radius: 20px; background: var(--navy); color: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%); }
.price-card .plan { font-weight: 700; color: #c8cee0; }
.price-card .amount { font-size: 48px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 0; }
.price-card .amount small { font-size: 17px; font-weight: 600; color: #c8cee0; }
.price-card .vat { color: #c8cee0; font-size: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.price-card li { position: relative; padding-left: 30px; }
.price-card li svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--brand-2); }
.badge-trial { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 25%, transparent); color: #ffd8c6; font-weight: 700; font-size: 14px; }
.price-side { display: grid; gap: 14px; align-content: center; }
.price-side .row { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.price-side .row .icon { margin: 0; flex: none; }
.price-side h3 { margin: 0 0 2px; font-size: 17px; }
.price-side p { margin: 0; color: var(--muted); font-size: 15px; }

/* 자주 묻는 것 */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* 마지막 권유 */
.cta-band { margin: 0 20px 80px; border-radius: 24px; padding: 56px 24px; text-align: center; color: #fff;
  background: radial-gradient(600px 260px at 80% 0%, color-mix(in srgb, var(--brand) 60%, transparent), transparent 70%), var(--navy); }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #c8cee0; margin: 0 0 26px; }
.cta-band .cta-row { justify-content: center; }
footer.site { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 13px; }
footer.site .container { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

/* 가입·설치 페이지 공통 */
.page-hero { padding: 56px 0 34px; background: radial-gradient(700px 300px at 90% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%), var(--bg); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 42px); margin: 14px 0 10px; }
.page-hero p { color: var(--muted); font-size: 17px; margin: 0; max-width: 38em; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; padding-bottom: 72px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.side h3 { margin: 0 0 14px; font-size: 18px; }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--ok); }
.check-list b { display: block; }
.check-list span { color: var(--muted); font-size: 15px; }
.progress { display: flex; gap: 8px; margin-bottom: 22px; }
.progress div { flex: 1; }
.progress i { display: block; height: 5px; border-radius: 99px; background: var(--line); }
.progress div.on i { background: var(--brand); }
.progress span { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.progress div.on span { color: var(--text); }

/* 폼 */
label { display: block; font-weight: 700; margin: 16px 0 7px; font-size: 14px; }
label:first-child { margin-top: 0; }
input[type=text], input[type=tel], input[type=password] {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); transition: border-color .15s;
}
input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
input:disabled { opacity: .65; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; min-width: 0; }
.hint { color: var(--muted); font-size: 13px; margin: 7px 0 0; }
.msg { margin: 12px 0 0; font-size: 14px; min-height: 1em; font-weight: 600; }
.msg.bad { color: var(--bad); }
.msg.ok { color: var(--ok); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; margin-top: 20px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.terms { margin-top: 8px; font-size: 13px; color: var(--muted); }
.terms table { border-collapse: collapse; margin-top: 8px; width: 100%; }
.terms td { border: 1px solid var(--line); padding: 6px 10px; vertical-align: top; }
.terms td:first-child { white-space: nowrap; font-weight: 600; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); margin-bottom: 14px; }
.done-icon svg { width: 34px; height: 34px; }

/* 설치 페이지 */
.dl-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.dl-icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 12px 28px -12px var(--brand); }
.dl-icon svg { width: 38px; height: 38px; }
.dl-meta { color: var(--muted); font-size: 14px; margin-top: 6px; }
.req { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.req div { padding: 12px; border-radius: 12px; background: var(--bg2); font-size: 13px; color: var(--muted); }
.req b { display: block; color: var(--text); font-size: 14px; }
.install-steps { display: grid; gap: 14px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.install-steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.install-steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.install-steps h3 { margin: 4px 0 4px; font-size: 17px; }
.install-steps p { margin: 0; color: var(--muted); font-size: 15px; }
.tip { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg2); font-size: 13px; color: var(--muted); }
.tip b { color: var(--text); }
.kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 700; color: var(--text); }
.small { font-size: 12px; color: var(--muted); word-break: break-all; }

/* 상품 소개(기능 줄) */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.frow:last-child { border-bottom: 0; }
.frow.flip > :first-child { order: 2; }
.frow h3 { font-size: 26px; letter-spacing: -.03em; margin: 8px 0 12px; }
.frow p { color: var(--muted); margin: 0 0 14px; }
.frow ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.frow li { position: relative; padding-left: 24px; font-size: 15px; }
.frow li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 900; }
.visual { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 24px; min-height: 260px; display: grid; place-items: center; }
.mini { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px; font-size: 13px; }
.mini h4 { margin: 0 0 10px; font-size: 14px; }
.bar { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.bar span:first-child { width: 64px; color: var(--muted); }
.bar i { display: block; height: 10px; border-radius: 99px; background: var(--brand); }
.bar b { margin-left: auto; font-size: 12px; }
.mini .line { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.mini .line:last-child { border: 0; }
.toggle { width: 34px; height: 20px; border-radius: 99px; background: var(--line); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.toggle.on { background: var(--bad); }
.toggle.on::after { left: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table.plain { width: 100%; border-collapse: collapse; font-size: 15px; }
table.plain th, table.plain td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { background: var(--bg2); font-size: 13px; color: var(--muted); font-weight: 700; }
table.plain tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg2); color: var(--muted); }
.tag.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.tag.soon { background: var(--brand-soft); color: var(--brand); }
.legal { max-width: 820px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal .draft { padding: 14px 16px; border-radius: 12px; background: var(--brand-soft); color: var(--text); font-size: 14px; margin-bottom: 24px; }

/* 결제 */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; }
.plans label { margin: 0; position: relative; display: block; cursor: pointer; padding: 16px 12px; border: 1.5px solid var(--line); border-radius: 14px; text-align: center; font-weight: 600; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.plans input { position: absolute; opacity: 0; pointer-events: none; }
.plans label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.plans b { display: block; font-size: 18px; }
.plans span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.bank { padding: 20px; border-radius: 16px; background: var(--bg2); border: 1px dashed var(--line); display: grid; gap: 10px; }
.bank .r { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.bank .r span { color: var(--muted); font-size: 14px; }
.bank .r b { font-size: 17px; }
.status-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.select { padding: 12px 14px; font: inherit; font-size: 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); width: 100%; }

/* 좁은 화면 */
@media (max-width: 900px) {
  .hero .container, .pricing, .split, .unify, .frow { grid-template-columns: 1fr; }
  .frow.flip > :first-child { order: 0; }
  .frow { gap: 24px; padding: 40px 0; }
  .features, .pains, .unify-notes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mock { margin: 10px 18px 30px; }
  .arrow { justify-self: center; transform: rotate(90deg); }
  .clean { justify-self: center; }
  .messy { height: 260px; max-width: 420px; width: 100%; justify-self: center; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .features, .pains, .unify-notes, .steps, .req { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  section.block { padding: 68px 0; }
  .hero { padding: 44px 0 60px; }
  .nav-cta .btn.ghost { display: none; }
  .float-receipt { right: -8px; width: 160px; }
  .float-toast { left: -8px; }
  .mock { margin: 10px 4px 34px; }
  .cta-band { margin: 0 12px 60px; }
  .panel { padding: 22px; }
  .dl-card { grid-template-columns: 1fr; }
  .paper { width: 150px; }
}
