:root {
  --p-bg: #ffffff; --p-surface: #f4f4f4; --p-ink: #111111; --p-muted: #6b6b6b;
  --p-accent: #1a4be0; --p-accent-ink: #ffffff; --p-action: #1a4be0; --p-action-ink: #ffffff;
  --p-inv-bg: #111111; --p-inv-surface: #1e1e1e; --p-inv-ink: #ffffff; --p-inv-muted: #9a9a9a;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #111111; --p-inv-action: #ffffff; --p-inv-action-ink: #111111;
  --font-display: "Geist", "Pretendard Variable", system-ui, sans-serif;
  --font-text: "Geist", "Pretendard Variable", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.045em;
}
/* 한국어 제목: 낱말 중간에서 줄이 끊기지 않게 */
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p, :lang(ko) li { word-break: keep-all; overflow-wrap: break-word; }
.nav__logo img { width: 28px; height: 28px; border-radius: 7px; }

/* ── 첫 화면: 고객 휴대폰에 도착한 문자 (그림 안) ── */
.hero__art { background:
    radial-gradient(70% 60% at 18% 12%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
    radial-gradient(60% 50% at 90% 100%, color-mix(in oklab, var(--ground-bg) 80%, var(--ground-accent)), transparent 70%),
    var(--ground-bg); }
.sms-win { background: #fff; color: #16181a; border-radius: 14px; overflow: hidden; font: 400 15px/1.5 var(--font-text);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 30px 70px -30px rgb(20 40 90 / .45); }
.sms-win__bar { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; border-bottom: 1px solid rgb(0 0 0 / .07); }
.sms-win__av { width: 36px; height: 36px; border-radius: 50%; background: #e8edfb; color: #1a4be0; display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; }
.sms-win__who b { display: block; font-weight: 600; font-size: 15px; }
.sms-win__who small { color: #6b7077; font-size: 13px; }
.sms-win__body { padding: 22px 20px 28px; padding-right: var(--ly-cut-room, 48px); display: grid; gap: 14px; justify-items: start; align-content: start; min-height: 480px; background: #f6f7f9; }
.sms-win__day { justify-self: center; font-size: 12px; color: #80858c; }
.sms-call { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c0392b; background: #fff; border-radius: 999px; padding: 6px 12px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.sms-call svg { width: 14px; height: 14px; }
.bubble { background: #fff; border-radius: 4px 18px 18px 18px; padding: 14px 16px; max-width: 420px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); }
.bubble__foot { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgb(0 0 0 / .12); font-size: 13px; color: #80858c; }
.bubble__time { font-size: 12px; color: #80858c; margin-top: -6px; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.d-card { background: #fff; color: #16181a; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 18px 40px -20px rgb(0 0 0 / .4); }
.d-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.d-card__row h5 { font-size: 14px; font-weight: 600; margin: 0; }
.d-chip { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: #e7f4ec; color: #17673f; }
.d-chip--skip { background: #f1f2f4; color: #5d6268; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e8edfb; color: #1a4be0; font-style: normal; font-size: 12px; font-weight: 700; }
.d-note__line b { font-weight: 600; color: #16181a; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }
@media (max-width: 639px) { .sms-win { font-size: 14px; } .sms-win__body { min-height: 0; padding: 14px; gap: 10px; } .sms-win__bar { height: 52px; } .bubble__foot { display: none; } }

/* ── 업종별 문자: 카드 안 말풍선 ── */
#cases .panel { --p-h: 220px; }
.case-thread { width: 100%; display: grid; gap: 10px; justify-items: start; font: 400 14px/1.5 var(--font-text); color: #16181a; }
.case-thread .bubble { max-width: 100%; }
.case-photo { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px 12px 8px 8px; box-shadow: 0 0 0 1px rgb(0 0 0 / .05); font-size: 13px; color: #3d4247; }
.case-photo span.th { width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, #cfd9f3, #9fb3e6); flex: none; }
@media (max-width: 639px) { #cases .panel { --p-h: 200px; } }

/* ── 보낼 조건: 카드 안 화면 조각 ── */
.ui-box { width: 100%; background: #fff; color: #16181a; border-radius: 12px; padding: 16px; font: 400 14px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 14px 32px -18px rgb(0 0 0 / .3); }
.ui-box h5 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #1a4be0; }
.days { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.days span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #f1f2f4; color: #5d6268; }
.days span.on { background: #1a4be0; color: #fff; }
.time-row { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 15px; }
.time-row b { background: #f1f2f4; border-radius: 8px; padding: 6px 10px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid #d5d9df; color: #5d6268; }
.chips span.on { background: #1a4be0; border-color: #1a4be0; color: #fff; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid rgb(0 0 0 / .06); }
.list-row:first-of-type { border-top: 0; }
.list-row small { color: #80858c; font-size: 12px; display: block; }
.opt { padding: 9px 12px; border-radius: 8px; color: #3d4247; }
.opt.on { background: #e8edfb; color: #1a4be0; font-weight: 600; }

/* ── 시작: 실제 앱 화면 세 장 ── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.step { display: grid; grid-template-rows: auto auto 1fr; gap: var(--s-3); }
.step h3 { font-size: var(--t-card, 20px); margin: 0; display: flex; gap: 10px; align-items: baseline; }
.step h3 .n { font-family: var(--font-mono); color: var(--muted); font-size: .85em; }
.step p { margin: 0; color: var(--muted); }
.step .frame { margin-top: var(--s-4); border-radius: 18px; overflow: hidden; aspect-ratio: 540 / 640; background: #eef2fb; }
.step .frame img { width: 100%; height: auto; display: block; }
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr; } .step .frame { display: none; } .step:first-child .frame { display: block; max-width: 300px; } }

/* ── 요금제 ── */
.bill { display: inline-flex; width: fit-content; justify-self: start; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: var(--s-5); }
.bill label { cursor: pointer; padding: 8px 18px; border-radius: 999px; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.bill input { position: absolute; opacity: 0; pointer-events: none; }
.bill label:has(input:checked) { background: var(--ink); color: var(--bg); }
.bill label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.plans { width: 100%; border-collapse: collapse; }
.plans th, .plans td { text-align: left; padding: 16px 12px 16px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.plans thead th { font-size: var(--t-small); color: var(--muted); font-weight: 500; border-top: 0; padding-top: 0; }
.plans .name { font-weight: 600; font-size: 18px; white-space: nowrap; }
.plans .tag { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: #e8edfb; color: #1a4be0; vertical-align: 2px; }
.plans .was { color: var(--muted); text-decoration: line-through; font-size: 15px; white-space: nowrap; }
.plans .now { font-size: 22px; font-weight: 600; white-space: nowrap; font-family: var(--font-text); }
.plans .now small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plans .what { color: var(--muted); }
.plans .yr { display: none; }
#pricing:has(#bill-yr:checked) .plans .yr { display: inline; }
#pricing:has(#bill-yr:checked) .plans .mo { display: none; }
.price-note { margin-top: var(--s-5); color: var(--muted); font-size: var(--t-small); max-width: 70ch; }
@media (max-width: 767px) {
  .plans thead { display: none; }
  .plans tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; border-top: 1px solid var(--line); padding: 12px 0; }
  .plans td, .plans th { border: 0; padding: 2px 0; }
  .plans td.what { grid-column: 1 / -1; font-size: 14px; }
  .plans td.was-cell { grid-column: 1; grid-row: 2; }
  .plans td.now { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; }
}

/* ── 질문 ── */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-7, 40px); }
.qa h3 { font-size: 20px; margin: 0 0 10px; }
.qa p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.qa { row-gap: 48px; }
@media (max-width: 767px) { .qa { grid-template-columns: 1fr; gap: var(--s-5); } }

.closing__qr { display: none; }
.footer__col details summary { cursor: pointer; }
.footer__col details ul { margin-top: 8px; columns: 2; }

/* ── 보낼 조건: 네 카드를 한 화면에 ── */
#control .cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap, 24px); }
#control .cards4 > .card { min-width: 0; }
#control .panel { --p-h: 250px; }
#control .ui-box { padding: 14px; }
#control .days span { width: 28px; height: 28px; font-size: 12px; }
#control .days { gap: 4px; }
@media (max-width: 1279px) { #control .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1279px) { #control { --h: 2; } }
@media (max-width: 639px) { #control .cards4 { grid-template-columns: 1fr; } #control .panel { --p-h: 190px; } }

/* ── 맨 위 언어 메뉴 ── */
.langpick { position: relative; }
.langpick summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); }
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary:hover { background: var(--surface); }
.langpick summary svg { width: 18px; height: 18px; }
.langpick ul { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; width: 380px; max-height: 70vh; overflow: auto; margin: 0; padding: 10px; list-style: none; background: var(--bg); border-radius: 14px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 24px 48px -16px rgb(0 0 0 / .3); columns: 2; column-gap: 8px; }
.langpick li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; break-inside: avoid; }
.langpick li a:hover { background: var(--surface); }
.langpick li a[aria-current] { background: #e8edfb; color: #1a4be0; font-weight: 600; }
@media (max-width: 1023px) { .langpick ul { position: static; width: auto; box-shadow: none; padding: 4px 0; } }

/* 제목은 낱말 중간에서 하이픈으로 끊지 않는다 */
h1, h2 { hyphens: manual; -webkit-hyphens: manual; }
