:root {
  --blue: #1b54d6;
  --blue-d: #1546b4;
  --paper: #f5f4f1;
  --ink: #14181f;
  --navy1: #0c3080;
  --navy2: #061634;
  --green: #17a06a;
  --g: #6c7482;
  --line: rgba(20, 24, 31, 0.12);
  --shell: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.shell { width: min(100% - 44px, var(--shell)); margin-inline: auto; }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--blue-d); }
.btn b { font-weight: 800; }
.btn.sm { font-size: 15px; padding: 11px 20px; }
.btn.full { width: 100%; justify-content: center; font-size: 18px; padding: 18px 24px; }
.btn:disabled { opacity: 0.55; cursor: default; }

.tlink { font-size: 16px; font-weight: 600; color: var(--g); }
.tlink b { color: var(--blue); }
.tlink:hover { color: var(--ink); }

.pill {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  padding: 9px 18px; border-radius: 999px; margin-bottom: 22px;
}

/* ── 헤더 ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 244, 241, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; letter-spacing: 0.06em; }
.brand i { width: 13px; height: 13px; background: var(--blue); border-radius: 3px; display: block; }
.brand span { color: var(--g); font-weight: 600; letter-spacing: 0; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--g); }
.nav-links a:hover { color: var(--ink); }

/* ── 히어로 ── */
.hero { padding: 78px 0 84px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
h1 { font-size: 62px; font-weight: 800; line-height: 1.14; letter-spacing: -0.05em; }
h1 em, h2 em { font-style: normal; background: var(--blue); color: #fff; padding: 0 12px 5px; display: inline-block; margin-top: 6px; }
.lead { margin-top: 26px; font-size: 19px; font-weight: 500; color: var(--g); letter-spacing: -0.02em; max-width: 30em; }
.lead b { color: var(--ink); font-weight: 700; }
.hero-cta { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-facts { list-style: none; display: flex; gap: 40px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.hero-facts span { font-size: 14px; font-weight: 600; color: var(--g); }
.hero-book img { width: 100%; border-radius: 10px; box-shadow: 0 26px 60px rgba(6, 22, 52, 0.24); }

/* ── 섹션 ── */
.sec { padding: 92px 0; }
.band { background: #eeece7; border-block: 1px solid var(--line); padding: 88px 0; }
.two { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.two > * { min-width: 0; }
.sec-head.center { text-align: center; max-width: 40rem; margin: 0 auto 48px; }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: 0.14em; color: var(--blue); margin-bottom: 16px; }
.kicker.light { color: #8fb0ff; }
h2 { font-size: 40px; font-weight: 800; line-height: 1.24; letter-spacing: -0.045em; }
.prose p { font-size: 18px; font-weight: 500; color: var(--g); letter-spacing: -0.02em; }
.prose p + p { margin-top: 18px; }
.prose.light { color: #a9b6ce; margin-top: 22px; }
.prose.light, .prose.light p { color: #a9b6ce; }

.quote { margin-top: 30px; }
.quote img { width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.quote figcaption { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--g); }

/* ── 표 ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.deal { width: 100%; border-collapse: collapse; min-width: 620px; }
.deal th, .deal td { padding: 18px 22px; text-align: left; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.deal th { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--g); background: #faf9f7; }
.deal .n { text-align: right; }
.deal .m { color: var(--blue); font-weight: 800; }
.deal tr.low td { background: #fbf6f5; color: #8a1f1a; font-weight: 700; }
.deal tr.low .m { color: #8a1f1a; }
.deal tr.sum td { border-bottom: 0; border-top: 2px solid var(--ink); font-size: 19px; font-weight: 800; }
.deal .hi { color: var(--green); }
.note { margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--g); line-height: 1.7; }
.note b { color: var(--ink); font-weight: 700; }
sup { color: var(--blue); font-weight: 800; }

.ev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.ev.two-up { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
.ev figure { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ev img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ev.two-up img { aspect-ratio: 4 / 5; object-fit: contain; background: #fff; padding: 10px; }
.ev figcaption { padding: 13px 15px; font-size: 13px; font-weight: 600; color: var(--g); border-top: 1px solid var(--line); }

/* ── 다크 섹션 ── */
.dark {
  background: radial-gradient(120% 90% at 50% 0%, var(--navy1) 0%, var(--navy2) 62%, #04101f 100%);
  color: #fff; padding: 92px 0;
}
.dark h2 { color: #fff; }
.calc { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.calc .row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px; padding: 20px 24px;
}
.calc .row span { font-size: 16px; font-weight: 600; color: #a9b6ce; }
.calc .row b { font-size: 24px; font-weight: 800; letter-spacing: -0.035em; }
.calc .row.hi { background: rgba(43, 217, 138, 0.12); border-color: rgba(43, 217, 138, 0.45); }
.calc .row.hi b { color: #2bd98a; }
.calc .shot { margin-top: 10px; }
.calc .shot { overflow: hidden; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.14); background: #fff; }
.calc .shot img { width: 100%; height: auto; display: block; }

/* ── 목차 ── */
.toc { list-style: none; counter-reset: none; max-width: 780px; margin-inline: auto; }
.toc li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.toc li:first-child { border-top: 1px solid var(--line); }
.toc span { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; }
.toc h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; }
.toc p { margin-top: 7px; font-size: 16px; font-weight: 500; color: var(--g); }

/* ── 대상 ── */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px 32px; }
.fit ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.fit li { position: relative; padding-left: 28px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.fit li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.fit.ok li::before { content: "✓"; color: var(--blue); }
.fit.no { background: #faf9f7; }
.fit.no li { color: var(--g); }
.fit.no li::before { content: "×"; color: #a4abb6; }

/* ── 구매 ── */
.buy-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: #cfd9ea; }
.card { background: #fff; color: var(--ink); border-radius: 14px; padding: 32px 30px; }
.card-top { font-size: 14px; font-weight: 700; color: var(--g); }
.price { display: flex; align-items: baseline; gap: 14px; margin-top: 10px; }
.price del { font-size: 20px; font-weight: 600; color: #a4abb6; }
.price strong { font-size: 44px; font-weight: 800; letter-spacing: -0.05em; }
.price-note { margin-top: 12px; font-size: 12px; font-weight: 500; color: #8a919c; line-height: 1.65; }
.purchase-form { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.purchase-form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 700; }
.purchase-form input {
  font: inherit; font-size: 16px; font-weight: 500; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 8px; background: #faf9f7; color: var(--ink);
}
.purchase-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.purchase-form small { font-size: 12px; font-weight: 500; color: #8a919c; }
.purchase-message { font-size: 14px; font-weight: 600; }
.purchase-message.success { color: var(--green); }
.purchase-message.error { color: #b3261e; }

/* ── FAQ ── */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding-bottom: 24px; font-size: 16px; font-weight: 500; color: var(--g); line-height: 1.7; }

/* ── 푸터 ── */
.foot { background: var(--ink); color: #fff; padding: 54px 0 60px; }
.foot-brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; letter-spacing: 0.06em; }
.foot-brand i { width: 12px; height: 12px; background: var(--blue); border-radius: 3px; display: block; }
.foot-brand span { color: #7c8ba6; font-weight: 600; letter-spacing: 0; }
.legal { margin-top: 22px; font-size: 13px; font-weight: 500; color: #8a94a6; line-height: 1.75; max-width: 62em; }
.biz { margin-top: 14px; font-size: 13px; font-weight: 500; color: #6d788c; }
.todo { color: #f0c860; font-weight: 700; }
.mail { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; color: #8fb0ff; }

/* ── 반응형 ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 52px 0 58px; }
  .hero-in, .two, .buy-in, .fit-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-book { order: -1; max-width: 360px; }
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  .sec, .band, .dark { padding: 62px 0; }
  .ev { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { gap: 26px; }
  .hero-facts b { font-size: 26px; }
  .price strong { font-size: 38px; }
  .toc li { grid-template-columns: 48px 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .tlink { text-align: center; }
  .ev.two-up { grid-template-columns: 1fr; }
}
