:root {
  --ink: #37352f;
  --muted: #787774;
  --faint: #9b9a97;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --hover: #efefed;
  --line: #e9e9e7;
  --line-dark: #d3d3d0;
  --blue: #2383e2;
  --blue-dark: #1b6ec2;
  --yellow: #fbf3db;
  --red-soft: #fdebec;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --number: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, a { font: inherit; }
button { color: inherit; cursor: pointer; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 12px; border-radius: 3px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #e6a700; outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 20; height: 52px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); }
.header-inner { max-width: 1180px; height: 100%; margin: 0 auto; padding: 0 18px; display: flex; align-items: center; gap: 8px; }
.brand { font-size: 14px; font-weight: 700; text-decoration: none; }
.header-inner > span { color: var(--line-dark); }
.header-inner > p { margin: 0; color: var(--muted); font-size: 13px; }
.header-inner nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-inner nav a { min-height: 32px; padding: 5px 9px; border-radius: 4px; color: var(--muted); font-size: 13px; text-decoration: none; }
.header-inner nav a:hover { background: var(--soft); color: var(--ink); }
.header-buy { min-height: 32px; padding: 5px 11px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 650; }
.header-buy:hover { background: var(--blue-dark); }

.notion-page { width: min(100% - 40px, 760px); margin: 0 auto; padding: 80px 0 112px; }
.page-header { margin-bottom: 46px; }
.page-icon { width: 78px; height: 78px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 16px; background: var(--soft); font-size: 46px; line-height: 1; }
.page-header h1 { margin: 0; font-size: clamp(42px, 6.1vw, 58px); line-height: 1.13; letter-spacing: -.055em; }
.page-lead { margin: 22px 0 0; color: #494842; font-size: 20px; line-height: 1.65; }
.page-meta { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 7px 18px; color: var(--faint); font-size: 12px; }

.thread { margin: 0 0 38px; }
.thread-item { position: relative; padding: 13px 8px 13px 47px; border-radius: 4px; }
.thread-item:hover { background: var(--soft); }
.thread-item::before { content: ""; position: absolute; left: 20px; top: 43px; bottom: -12px; width: 1px; background: var(--line-dark); }
.thread-last::before { display: none; }
.thread-item > b { position: absolute; left: 0; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; background: #fff; color: var(--muted); font: 650 12px/1 var(--number); }
.thread-item p { margin: 0; font-size: 18px; line-height: 1.72; }
.thread-item mark { padding: 1px 3px; background: var(--yellow); color: inherit; }

.why-section { margin: 58px 0 72px; }
.why-copy { padding: 2px 0 2px 19px; border-left: 3px solid var(--blue); }
.why-copy p { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.why-copy p:last-child { margin-bottom: 0; }

.notion-page h2 { margin: 0 0 17px; font-size: 27px; line-height: 1.3; letter-spacing: -.035em; }
.price-section { scroll-margin-top: 72px; }
.quick-prices { margin: 0 0 21px; border-top: 1px solid var(--line-dark); }
.quick-prices > div { min-height: 58px; padding: 11px 8px; display: grid; grid-template-columns: minmax(170px, 1fr) 100px 170px; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.quick-prices > div:hover { background: var(--soft); }
.quick-prices span { font-size: 14px; font-weight: 650; }
.quick-prices strong { color: var(--blue-dark); font: 750 15px/1.3 var(--number); text-align: right; }
.quick-prices small { color: var(--muted); font-size: 12px; text-align: right; }

.notion-toggle { border-bottom: 1px solid var(--line); }
.notion-toggle > summary { position: relative; min-height: 48px; padding: 11px 8px 10px 31px; list-style: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 650; }
.notion-toggle > summary::-webkit-details-marker { display: none; }
.notion-toggle > summary::before { content: "▶"; position: absolute; left: 9px; top: 13px; color: var(--muted); font-size: 10px; transition: transform .16s ease; }
.notion-toggle[open] > summary::before { transform: rotate(90deg); }
.notion-toggle > summary:hover { background: var(--soft); }
.toggle-note { margin: 7px 8px 17px; color: var(--muted); font-size: 12px; }

.table-wrap { margin: 4px 0 22px; overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { padding: 11px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
tr:last-child > * { border-bottom: 0; }
tr > *:last-child { border-right: 0; }
thead th { background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 600; }
tbody th { font-size: 13px; }
tbody td { color: var(--muted); font-size: 12px; }
tbody td:nth-child(2) { color: var(--blue-dark); font: 700 13px var(--number); }
tbody td:nth-child(3) { color: var(--faint); font: 600 12px var(--number); text-decoration: line-through; text-decoration-color: var(--line-dark); }

.capture-title { margin: 36px 0 18px; font-size: 17px; line-height: 1.4; letter-spacing: -.02em; }
.capture-grid { padding: 4px 8px 25px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
.capture-grid figure { min-width: 0; margin: 0; }
.capture-grid a { display: block; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--soft); }
.capture-grid a:hover { border-color: var(--faint); }
.capture-grid img { width: 100%; height: auto; display: block; }
.capture-grid figcaption { margin-top: 6px; display: grid; gap: 1px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.capture-grid figcaption span { color: var(--blue-dark); font: 700 11px var(--number); }
.capture-note { margin: -6px 8px 21px; color: var(--faint); font-size: 11px; }

.offer { margin: 72px 0 0; padding: 26px; display: grid; grid-template-columns: 1fr 210px; align-items: center; gap: 24px; border: 1px solid var(--line-dark); border-radius: 4px; }
.offer-copy { display: grid; grid-template-columns: 42px 1fr; gap: 11px; align-items: start; }
.offer-copy > span { font-size: 30px; line-height: 1.2; }
.offer-copy h2 { margin: 1px 0 3px; font-size: 24px; }
.offer-copy small { color: var(--muted); font-size: 11px; }
.offer-buy { display: grid; }
.offer-buy button { min-height: 54px; padding: 9px 16px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; }
.offer-buy button:hover { background: var(--blue-dark); }
.offer-buy button:active { transform: translateY(1px); }

.questions { margin-top: 72px; }
.questions h2 { margin-bottom: 12px; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { position: relative; min-height: 49px; padding: 12px 36px 11px 5px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 650; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 7px; top: 6px; color: var(--muted); font-size: 24px; font-weight: 300; }
.questions details[open] summary::after { content: "−"; }
.questions p { margin: -2px 0 16px; padding: 0 40px 0 5px; color: var(--muted); font-size: 13px; }
.questions a { color: var(--blue-dark); text-underline-offset: 3px; }

.site-footer { min-height: 130px; padding: 32px max(24px, calc((100vw - 980px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); background: var(--soft); }
.site-footer strong { font-size: 14px; }
.site-footer p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.mobile-buy { display: none; }

.payment-dialog { width: min(860px, calc(100% - 24px)); height: min(760px, calc(100% - 24px)); padding: 0; overflow: hidden; border: 1px solid var(--ink); border-radius: 5px; background: #fff; color: var(--ink); }
.payment-dialog[open] { display: grid; grid-template-rows: auto auto minmax(0, 1fr); }
.payment-dialog::backdrop { background: rgb(15 15 15 / 70%); }
.dialog-bar { min-height: 66px; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--soft); }
.dialog-bar span { color: var(--muted); font-size: 10px; }
.dialog-bar h2 { margin: 0; font-size: 16px; }
.dialog-close { width: 40px; height: 40px; border: 0; border-radius: 4px; background: transparent; font-size: 24px; }
.dialog-close:hover { background: var(--hover); }
.dialog-deal { padding: 9px 14px 8px; display: grid; gap: 6px; border-bottom: 1px solid var(--line); background: #fff; }
.deal-row { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.deal-price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.deal-price s { color: var(--faint); font: 650 12px var(--number); }
.deal-price > span { color: var(--faint); font-size: 12px; }
.deal-price strong { color: var(--ink); font: 800 21px var(--number); letter-spacing: -.03em; }
.deal-price b { padding: 3px 6px; border-radius: 3px; background: #ffe7e2; color: #b42318; font-size: 10px; line-height: 1.4; }
.deal-clock { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.deal-clock span { color: var(--muted); font-size: 10px; font-weight: 650; }
.deal-clock time { min-width: 76px; color: var(--blue-dark); font: 800 17px var(--number); font-variant-numeric: tabular-nums; letter-spacing: .03em; text-align: right; }
.deal-warning { margin: 0; padding-top: 6px; border-top: 1px solid #ead177; color: #6f4b00; font-size: 11px; font-weight: 700; line-height: 1.45; }
.dialog-kakao {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
  text-align: center;
}
.dialog-kakao p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.kakao-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 6px;
  background: #fee500;
  color: #191919;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}
.kakao-link:hover { background: #f7dc00; }
.kakao-link:focus-visible { outline: 3px solid #e6a700; outline-offset: 3px; }
.kakao-link span { font-weight: 700; }

/* Legal documents share the same quiet document system. */
.legal-page { background: var(--paper); }
.legal-shell { max-width: 760px; margin: 0 auto; padding: 70px 24px 120px; }
.legal-back { display: inline-block; margin-bottom: 32px; color: var(--blue-dark); font-size: 13px; font-weight: 650; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal-kicker { margin: 0 0 8px; color: var(--muted); font: 650 10px/1.4 var(--number); letter-spacing: .08em; }
.legal-shell h1 { margin: 0; font-size: clamp(34px, 5vw, 46px); letter-spacing: -.045em; line-height: 1.2; }
.legal-updated { margin: 9px 0 35px; color: var(--muted); font-size: 11px; }
.legal-summary { padding: 15px 17px; border-radius: 4px; background: var(--yellow); font-size: 13px; }
.legal-content { border-top: 1px solid var(--line-dark); }
.legal-content section { padding: 22px 2px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 7px; font-size: 17px; }
.legal-content p { margin: 0 0 8px; color: var(--muted); }
.legal-content ul { margin: 0; padding-left: 20px; color: var(--muted); }
.legal-content li { margin: 5px 0; }
.legal-content a { color: var(--blue-dark); }

@media (max-width: 760px) {
  body { padding-bottom: 66px; }
  .header-inner > p, .header-inner > span, .header-inner nav a { display: none; }
  .notion-page { width: min(100% - 34px, 680px); padding-top: 55px; }
  .page-header h1 { font-size: clamp(39px, 10vw, 52px); }
  .page-lead { font-size: 18px; }
  .quick-prices > div { grid-template-columns: 1fr auto; gap: 2px 10px; }
  .quick-prices small { grid-column: 1 / -1; text-align: left; }
  .offer { grid-template-columns: 1fr; }
  .mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 66px; padding: 8px 11px; display: grid; align-items: center; border-top: 1px solid var(--line-dark); background: #fff; box-shadow: 0 -2px 8px rgb(0 0 0 / 8%); }
  .mobile-buy button { width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
  .site-footer { margin-bottom: 66px; }
}

@media (max-width: 520px) {
  .notion-page { width: calc(100% - 28px); padding-top: 42px; }
  .page-icon { width: 64px; height: 64px; margin-bottom: 16px; font-size: 38px; }
  .page-header { margin-bottom: 36px; }
  .page-header h1 { font-size: 38px; }
  .page-lead { margin-top: 17px; font-size: 16px; }
  .thread-item { padding: 11px 3px 11px 42px; }
  .thread-item > b { width: 30px; height: 30px; }
  .thread-item::before { left: 15px; top: 37px; }
  .thread-item p { font-size: 16px; }
  .why-section { margin: 50px 0 60px; }
  .why-copy { padding-left: 15px; }
  .why-copy p { font-size: 14px; }
  .notion-page h2 { font-size: 24px; }
  .capture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .offer { padding: 21px 18px; }
  .site-footer { padding: 28px 17px; display: grid; }
  .payment-dialog { width: calc(100% - 12px); height: calc(100% - 12px); }
  .dialog-deal { padding: 9px 12px 8px; gap: 6px; }
  .deal-row { display: grid; gap: 4px; }
  .deal-clock { justify-content: space-between; }
  .deal-clock time { text-align: left; }
}

@media (max-width: 350px) {
  .page-header h1 { font-size: 34px; }
  .capture-grid { grid-template-columns: 1fr; max-width: 267px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .notion-toggle > summary::before { transition: none; }
}
