/* Zaki 홈페이지 — 앱 디자인 토큰(tadfo-app/src/constants/theme.ts)과 같은 색 */
:root {
  --bg: #FFFFFF;
  --bg-gray: #F2F4F6;
  --card: #FFFFFF;
  --ink: #191F28;
  --sub: #4E5968;
  --weak: #66707C;
  --line: #E5E8EB;
  --fill: #F2F4F6;
  --brand: #2E7CF6;          /* 장식·큰 글자용 */
  --brand-strong: #1F68E0;   /* 버튼 바탕·작은 글자용 (흰 글자 대비 5.1:1) */
  --brand-text: #1F68E0;
  --brand-soft: #E8F2FF;
  --ok: #03B26C;
  --ok-soft: #E5F8EF;
  --notice-soft: #FFF4E0;
  --shadow: 0 1px 2px rgba(2, 32, 71, .04), 0 8px 24px rgba(2, 32, 71, .06);
  --shadow-lg: 0 2px 6px rgba(2, 32, 71, .06), 0 24px 60px rgba(2, 32, 71, .12);
  --radius: 24px;
  --radius-sm: 16px;
  --header-h: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", "Hiragino Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101013;
    --bg-gray: #17171C;
    --card: #202027;
    --ink: #F2F4F6;
    --sub: #B0B8C1;
    --weak: #8C95A1;
    --line: #2C2C33;
    --fill: #26262D;
    --brand: #4B93FF;
    --brand-text: #6AA8FF;
    --brand-soft: #1A2B45;
    --ok: #2FCB86;
    --ok-soft: #123326;
    --notice-soft: #3A2C12;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--brand-text); }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100;
  background: var(--brand-strong); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 800px; }

/* 아랍 문자는 자간을 줄이면 글자 연결이 깨진다 */
:lang(ar) *, :lang(ur) * { letter-spacing: 0 !important; }
:lang(ar) body, :lang(ur) body { line-height: 1.75; }
:lang(ar) .hero-title, :lang(ur) .hero-title { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.4; }
:lang(ar) .m-big, :lang(ur) .m-big { font-size: 19px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand-strong); color: #fff; }
.btn-primary:hover { background: #1A5BC8; }
.btn-soft { background: var(--brand-soft); color: var(--brand-text); }
.btn-soft:hover { filter: brightness(.97); }
.btn-white { background: #fff; color: #1F68E0; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.btn-store {
  background: var(--fill); color: var(--sub); flex-direction: column; gap: 0; line-height: 1.2;
  min-height: 56px; padding: 6px 22px; border-radius: 16px; cursor: not-allowed;
}
.btn-store .soon { font-size: 12px; font-weight: 600; color: var(--weak); }
.btn-store:active { transform: none; }

/* ---------- 머리글 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 32px; height: 32px; }
.logo-word { height: 32px; width: auto; }
.logo-word-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-word-light { display: none; }
  .logo-word-dark { display: block; }
}
.main-nav { display: flex; gap: 4px; margin-inline-start: 16px; }
.main-nav a { color: var(--sub); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.main-nav a:hover { background: var(--fill); color: var(--ink); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  color: var(--sub); background: var(--fill); border-radius: 12px; padding-inline-start: 12px; height: 40px;
}
.lang select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 600; height: 40px; padding-inline: 2px 14px; cursor: pointer;
}
.lang select option { color: #191F28; background: #fff; }
.lang:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.lang select:focus-visible { outline: none; }

/* ---------- 첫 화면 ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow { color: var(--brand-text); font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.hero-title {
  font-size: clamp(36px, 5.4vw, 64px); line-height: 1.22; font-weight: 800; letter-spacing: -0.03em;
  word-break: keep-all; overflow-wrap: anywhere;
}
.hero-sub { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: var(--sub); max-width: 34em; word-break: keep-all; }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trial { margin-top: 16px; font-size: 15px; color: var(--weak); font-weight: 600; }

.hero-visual { text-align: start; position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
.phone {
  width: 300px; border-radius: 44px; padding: 12px; background: #191F28;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #191F28; border-radius: 12px; z-index: 2; }
.phone-screen {
  background: #F2F4F6; color: #191F28; border-radius: 34px; padding: 48px 14px 18px; min-height: 560px;
  display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.45;
}
.m-top { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 0 6px; }
.m-top img { width: 22px; height: 22px; }
.m-card { background: #fff; border-radius: 20px; padding: 16px; color: #191F28; }
.m-label { font-size: 13px; color: #66707C; font-weight: 600; }
.m-big { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; margin-top: 4px; color: #1F68E0; }
.m-small { font-size: 13px; color: #4E5968; margin-top: 4px; }
.m-btn { display: inline-block; margin-top: 12px; background: #1F68E0; color: #fff; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 10px; }
.m-btn-ghost { background: #E8F2FF; color: #1F68E0; margin: 0; }
.m-row { display: flex; align-items: center; gap: 10px; padding: 10px 0 0; }
.m-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.ic-blue { background: #E8F2FF; } .ic-green { background: #E5F8EF; } .ic-orange { background: #FFF4E0; }
.m-row-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.m-row-txt b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row-txt small { font-size: 12px; color: #66707C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-amt { font-weight: 700; font-size: 14px; }
.plus { color: #1F68E0; }

.wa-float {
  position: absolute; inset-inline-start: -12px; bottom: 40px; width: 250px;
  background: #EFEAE2; border-radius: 22px; padding: 12px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 8px; color: #111B21; font-size: 13.5px; line-height: 1.45;
  animation: float 6s ease-in-out infinite;
}
.wa-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; color: #3B4A54; padding: 2px 4px; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #1DAA61; }
.wa-bubble { border-radius: 14px; padding: 8px 10px; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-out { background: #D9FDD3; align-self: flex-end; display: flex; align-items: center; gap: 8px; }
.wa-in { background: #fff; align-self: flex-start; }
.wa-receipt { width: 34px; height: 44px; background: #fff; border-radius: 4px; display: flex; flex-direction: column; gap: 4px; padding: 6px 5px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.wa-receipt span { height: 3px; background: #C5CCD3; border-radius: 2px; }
.wa-receipt span:nth-child(2) { width: 70%; }
.wa-cap { font-weight: 600; font-size: 13px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 공통 섹션 ---------- */
.section { padding: 112px 0; }
.section-gray { background: var(--bg-gray); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; word-break: keep-all; }
.section-head p { margin-top: 16px; font-size: clamp(17px, 1.5vw, 20px); color: var(--sub); word-break: keep-all; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
h3 { font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -0.01em; }
.card p, .feature p { color: var(--sub); font-size: 16px; margin-top: 8px; word-break: keep-all; }

/* 3단계 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px 28px; display: flex; flex-direction: column; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); font-weight: 800; display: grid; place-items: center; margin-bottom: 20px; }
.step-visual { margin-top: auto; padding-top: 28px; }
.step-visual > * { margin-top: 0; }
.wa-solo { margin-inline-start: auto; width: fit-content; color: #111B21; }
.ask { background: var(--fill); border-radius: 18px; padding: 16px; }
.ask p { color: var(--ink); font-weight: 600; font-size: 15px; margin: 0; }
.chips { display: flex; gap: 8px; margin-top: 12px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--card); color: var(--sub); font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.chip-on { background: var(--brand-strong); color: #fff; box-shadow: none; }
.boxes { list-style: none; margin: 0; padding: 6px 16px; background: var(--fill); border-radius: 18px; font-size: 14px; }
.boxes li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: var(--sub); }
.boxes li + li { border-top: 1px solid var(--line); }
.boxes b { color: var(--ink); }
.boxes .total span { color: var(--ink); font-weight: 700; }
.boxes .total b, .boxes .plus { color: var(--brand-text); }

/* 기능 */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(5, 1fr); } .feature { padding: 24px; } .feature h3 { font-size: 18px; } .feature p { font-size: 15px; } }
.feature { background: var(--card); box-shadow: var(--shadow); border-radius: var(--radius); padding: 28px; }
.f-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; margin-bottom: 20px; }
.f-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 800; background: var(--brand-strong); color: #fff; padding: 2px 8px; border-radius: 999px; margin-inline-start: 4px; }
.lang-list { font-size: 14px !important; color: var(--weak) !important; margin-top: 12px !important; line-height: 1.8; }

/* 체험 데모 — 앱 화면이므로 다크 모드에서도 밝은 앱 색을 유지한다(PC 시안 C 모양) */
.demo-section .section-head .eyebrow { margin-bottom: 12px; }
.demo { display: grid; grid-template-columns: 256px 1fr; gap: 20px; align-items: start; }
.demo-tray { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.tray-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tray-head h3 { font-size: 17px; flex: 1; min-width: 0; }
.tray-reset { border: 0; background: var(--fill); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 10px; cursor: pointer; min-height: 36px; white-space: nowrap; flex-shrink: 0; }
.tray-reset:hover { filter: brightness(.96); }
.tray-hint { font-size: 14px; color: var(--sub); margin: 6px 0 14px; }
.hint-tap { display: none; }
@media (hover: none), (max-width: 760px) { .hint-drag { display: none; } .hint-tap { display: inline; } }
.receipts { display: flex; flex-direction: column; gap: 12px; }
.receipt {
  position: relative; display: flex; flex-direction: column; gap: 4px; text-align: start;
  background: #FFFDF8; color: #191F28; border: 1px solid #E5E8EB; border-radius: 14px; padding: 14px 16px 16px;
  font: inherit; font-size: 13px; cursor: grab; user-select: none; -webkit-user-select: none;
  box-shadow: 0 1px 2px rgba(2,32,71,.06), 0 6px 14px rgba(2,32,71,.06);
  transition: transform .15s, box-shadow .15s, opacity .2s;
  -webkit-mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) bottom / 16px 100% repeat-x;
          mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) bottom / 16px 100% repeat-x;
}
@media (min-width: 761px) { .receipt { touch-action: none; } }
.receipt:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(2,32,71,.08), 0 12px 24px rgba(2,32,71,.10); }
.receipt:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.r-name { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.r-cat { color: #66707C; font-weight: 600; }
.r-line, .r-total { display: flex; justify-content: space-between; gap: 8px; color: #4E5968; }
.r-line { border-top: 1px dashed #D1D6DB; padding-top: 6px; margin-top: 4px; }
.r-total b { color: #191F28; font-size: 14px; }
.r-used { display: none; position: absolute; inset-inline-end: 12px; top: 12px; background: #E5F8EF; color: #067A4B; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.receipt.used { opacity: .55; cursor: default; transform: none; }
.receipt.used .r-used { display: inline; }
.receipt.dragging-src { opacity: .35; }
.receipt-ghost { position: fixed; z-index: 200; pointer-events: none; width: 200px; margin: 0; transform: rotate(-4deg) scale(1.03); box-shadow: 0 20px 40px rgba(2,32,71,.25); cursor: grabbing; }
.tray-done { margin-top: 14px; font-size: 14px; color: var(--sub); }

.demo-app { display: grid; grid-template-columns: 172px 1fr; background: #F2F4F6; color: #191F28; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); min-width: 0; }
.d-side { background: #fff; border-inline-end: 1px solid #E5E8EB; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.d-logo { height: 28px; width: auto; margin: 0 8px 14px; }
.d-biz { display: flex; align-items: center; gap: 8px; background: #F2F4F6; border-radius: 10px; padding: 8px; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.d-av { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #3A8BFF, #1B64F2); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.d-up { background: #1F68E0; color: #fff; border-radius: 10px; padding: 9px; text-align: center; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.d-nav { padding: 9px 10px; border-radius: 10px; color: #4E5968; font-weight: 600; }
.d-nav.on { background: #E8F2FF; color: #1F68E0; }
.d-main { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.d-head h3 { font-size: 22px; letter-spacing: -0.02em; }
.d-head p { font-size: 14px; color: #4E5968; }
.d-drop {
  border: 2px dashed #B0C9F5; background: #F7FAFF; border-radius: 16px; min-height: 64px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: center; text-align: center; color: #1F68E0; font-weight: 700; font-size: 15px;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.d-drop-idle, .d-drop-busy { display: inline-flex; align-items: center; gap: 10px; }
.d-drop-busy { display: none; }
.d-drop.busy .d-drop-idle { display: none; }
.d-drop.busy .d-drop-busy { display: inline-flex; }
.d-drop.over { background: #E8F2FF; border-color: #1F68E0; transform: scale(1.01); }
.d-drop-ic { font-size: 22px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #B0C9F5; border-top-color: #1F68E0; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.d-filenote { font-size: 13px; color: #4E5968; background: #FFF4E0; border-radius: 10px; padding: 8px 12px; }
.d-cards { display: grid; grid-template-columns: 1.15fr 1fr .8fr; gap: 12px; }
.d-card { background: #fff; border-radius: 18px; padding: 16px 18px; min-width: 0; }
.d-k { font-size: 13px; color: #4E5968; font-weight: 600; }
.d-big { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 2px; white-space: nowrap; transition: color .3s; }
.d-big.bump { color: #03B26C; }
.d-blue { color: #1F68E0; }
.d-s { font-size: 12.5px; color: #66707C; }
.d-table-card { padding: 16px 8px 6px; }
.d-table-card h4 { font-size: 16px; margin: 0 10px 6px; }
.d-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.d-table th { font-size: 12px; color: #66707C; font-weight: 600; text-align: start; padding: 8px 10px; border-bottom: 1px solid #E5E8EB; white-space: nowrap; }
.d-table td { padding: 11px 10px; border-bottom: 1px solid #E5E8EB; vertical-align: middle; }
.d-table tr:last-child td { border-bottom: 0; }
.d-table .num-col { text-align: end; }
.d-table td.num-col { font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .d-table td.num-col { text-align: left; }
.d-table td.c-date { color: #66707C; white-space: nowrap; font-size: 13px; }
.d-table .plus { color: #1F68E0; }
.d-table tr.new td { animation: rowIn .9s ease; }
@keyframes rowIn { from { background: #E8F2FF; } to { background: transparent; } }
.d-merchant { font-weight: 700; }
.chip-check { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag-check { background: #FFF4E0; color: #8A5300; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; white-space: nowrap; }
.btn-ok { border: 0; background: #1F68E0; color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; cursor: pointer; min-height: 30px; white-space: nowrap; }
.btn-ok:hover { background: #1A5BC8; }
.demo-note { text-align: center; margin-top: 20px; font-size: 14px; color: var(--weak); }

/* 요금 */
.trial { display: flex; align-items: center; gap: 24px; padding: 28px 32px; margin-bottom: 40px; background: var(--brand-soft); box-shadow: none; }
.trial > div { flex: 1; }
.trial h3 { font-size: 24px; }
.trial p { color: var(--sub); }
.trial-tag { background: var(--brand-strong); color: #fff; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.billing { display: flex; width: fit-content; margin: 0 auto 32px; padding: 4px; background: var(--fill); border-radius: 14px; }
.seg { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 15px; color: var(--sub); padding: 10px 24px; border-radius: 10px; cursor: pointer; min-height: 44px; }
.seg.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; }
.plan-pro { box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.plan-desc { min-height: 3.2em; }
.plan-price { margin-top: 20px !important; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; color: var(--ink) !important; }
.plan-price .num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.per { font-size: 16px; color: var(--sub); font-weight: 600; }
.plan-bill { font-size: 14px !important; color: var(--weak) !important; margin-top: 4px !important; min-height: 1.6em; }
.plan-list { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; font-size: 16px; }
.plan-list li { position: relative; padding-inline-start: 28px; }
.plan-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F68E0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-list li.off { color: var(--weak); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--weak) 60%, transparent); }
.plan-list li.off::before { background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366707C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan .btn { width: 100%; }
.credits { margin-top: 20px; padding: 28px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.credit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.credit-list li { background: var(--fill); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; font-size: 14px; color: var(--sub); font-weight: 600; }
.credit-list b { font-size: 18px; color: var(--ink); }
.price-note { text-align: center; margin-top: 28px; color: var(--weak); font-size: 14px; }

/* 신뢰 */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust .card { padding: 32px 28px; }

/* 질문 */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; padding-inline: 0 40px;
  font-size: 19px; font-weight: 700; position: relative; border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; inset-inline-end: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-inline-end: 2.5px solid var(--weak); border-bottom: 2.5px solid var(--weak); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
[dir="rtl"] .faq summary::after { transform: rotate(-45deg); }
[dir="rtl"] .faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 24px; color: var(--sub); font-size: 17px; word-break: keep-all; }

/* 마지막 권유 */
.final { padding: 0 24px 112px; }
.final-inner {
  background: linear-gradient(135deg, #2E7CF6, #1B5FD9); color: #fff; border-radius: 32px;
  text-align: center; padding: 72px 24px; max-width: 1112px;
}
.final h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; word-break: keep-all; }
.final p { margin: 12px 0 32px; font-size: 18px; opacity: .92; }

/* 바닥글 */
.site-footer { background: var(--bg-gray); padding: 56px 0 48px; font-size: 15px; color: var(--sub); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; }
.footer-brand p { margin-top: 12px; max-width: 32em; }
.footer-note { font-size: 14px; color: var(--weak); }
.footer-links { display: flex; gap: 20px; align-items: flex-start; }
.footer-links a { color: var(--sub); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--weak); font-size: 14px; }

/* 스크롤 시 나타남 */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  .spinner { animation: none; }
  .d-table tr.new td { animation: none; }
  .receipt, .d-drop, .d-big { transition: none; }
  .btn { transition: none; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .steps, .trust { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .credits { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .trial { max-width: 520px; margin-inline: auto; margin-bottom: 32px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1000px) {
  .demo { grid-template-columns: 1fr; }
  .receipts { flex-direction: row; }
  .receipt { flex: 1; min-width: 0; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .demo-app { grid-template-columns: 1fr; }
  .d-side { display: none; }
  .d-main { padding: 14px; }
  .d-cards { grid-template-columns: 1fr 1fr; }
  .d-cards .d-card:first-child { grid-column: 1 / -1; }
  .d-big { font-size: 20px; }
  .d-table .c-date, .d-table .c-vat { display: none; }
  .header-inner { gap: 10px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  :root { --header-h: 60px; }
  .logo-word { display: none !important; }
  .header-actions .btn-sm { padding: 0 12px; font-size: 14px; }
  .lang { padding-inline-start: 10px; }
  .lang select { font-size: 14px; max-width: 92px; }
  .hero { padding: 40px 0 64px; }
  .hero-inner { gap: 32px; }
  .cta-row .btn-lg { width: 100%; }
  .cta-row .btn-store { flex: 1; padding: 6px 12px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .phone { width: 272px; }
  .phone-screen { min-height: 500px; }
  .wa-float { inset-inline-start: auto; inset-inline-end: -4px; bottom: -8px; width: 220px; }
  .step, .plan, .trust .card { padding: 26px 22px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 24px; }
  .trial, .credits { padding: 24px 22px; }
  .credit-list { grid-template-columns: 1fr; }
  .demo-tray { padding: 16px; }
  .receipts { gap: 8px; }
  .receipt { padding: 10px 10px 14px; font-size: 12px; }
  .r-name { font-size: 14px; }
  .r-line { display: none; }
  .r-total { flex-direction: column; gap: 0; }
  .r-used { position: static; align-self: flex-start; margin-top: 4px; }
  .d-table { font-size: 13px; }
  .d-cards { gap: 8px; }
  .d-card { padding: 14px; }
  .d-big { font-size: 18px; white-space: normal; }
  .d-cards .d-card:first-child .d-big { font-size: 22px; }
  .d-table td, .d-table th { padding-inline: 8px; }
  .credit-list li { flex-direction: row; justify-content: space-between; align-items: center; }
  .final { padding: 0 16px 72px; }
  .final-inner { padding: 56px 20px; border-radius: 28px; }
  .final .btn { width: 100%; }
  .faq summary { font-size: 17px; padding-block: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}
