/* Shared mobile-first 4560 high-conversion design system for LifeBalance 4560 multi-landing suite */
:root {
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --ink: #1A1715;
  --muted: #5C544D;
  --line: #E6DDD1;
  --primary: #7A1019;
  --primary-dark: #5C0B12;
  --accent: #D96506;
  --gold-bg: #FFF4D6;
  --ok: #1B6B4A;
  --ok-bg: #EEF8F3;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #EFECE6;
  color: var(--ink);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
.serif { font-family: "Noto Serif KR", Georgia, serif; }

.page-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(24, 18, 12, 0.08);
  padding-bottom: 92px;
  overflow-x: hidden;
}
@media (max-width: 430px) {
  .hero h1, .article-hero h1, .ox-hero h1, .chk-header h1, .st-hero h1 { font-size: 24px !important; }
  .lb-sticky { padding: 10px 12px; gap: 8px; }
  .lb-sticky-txt strong { font-size: 13.5px; }
  .lb-sticky-txt span { font-size: 11.5px; }
  .lb-sticky-btn { font-size: 14px; padding: 11px 14px; }
}

img { max-width: 100%; display: block; }

/* Shared Lead Capture Form Box */
.lb-form-section {
  padding: 28px 20px 32px;
  background: #F4EDE3;
  border-top: 2px solid #E5D8C7;
}
.lb-form-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 20px 26px;
  border: 2px solid var(--primary);
  box-shadow: 0 12px 32px rgba(122, 16, 25, 0.10);
}
.lb-form-badge {
  display: inline-block;
  background: var(--primary);
  color: #FFF;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.lb-form-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.32;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
}
.lb-form-sub {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.lb-gift-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.lb-g-tab {
  border: 2px solid #DDD3C6;
  background: #FAF7F2;
  color: #4F4842;
  border-radius: 12px;
  padding: 12px 8px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  line-height: 1.3;
}
.lb-g-tab small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.82;
  margin-top: 2px;
}
.lb-g-tab.active {
  background: #FDF2F1;
  border-color: var(--primary);
  color: var(--primary);
}

.lb-field { margin-bottom: 14px; }
.lb-field label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #24201D;
  margin-bottom: 6px;
}
.lb-field label span { color: var(--primary); margin-right: 3px; }
.lb-field input[type="text"],
.lb-field input[type="tel"] {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  font-size: 16.5px;
  font-weight: 600;
  border: 1.8px solid #D5C9BA;
  border-radius: 11px;
  background: #FFFDFB;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}
.lb-field input:focus {
  border-color: var(--primary);
  background: #FFFFFF;
}
.lb-addr-row {
  display: grid;
  grid-template-columns: 1fr 106px;
  gap: 8px;
  margin-bottom: 8px;
}
.lb-btn-post {
  height: 52px;
  border: none;
  border-radius: 11px;
  background: #2C2623;
  color: #FFF;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
}

.lb-consent-box {
  background: #FAF7F2;
  border: 1.5px solid #E5DBCE;
  border-radius: 12px;
  padding: 13px 14px;
  margin: 16px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lb-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: #38322D;
  line-height: 1.42;
}
.lb-consent-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}
.lb-consent-item label { cursor: pointer; flex: 1; }
.lb-consent-item .req { color: var(--primary); font-weight: 800; }
.lb-consent-item .opt { color: #6E655D; font-weight: 700; }
.lb-modal-link {
  background: none;
  border: none;
  color: #6B625A;
  text-decoration: underline;
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}

.lb-err {
  display: none;
  background: #FFF0F0;
  border: 1.5px solid #D93025;
  color: #B31412;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lb-submit-btn {
  width: 100%;
  min-height: 58px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #9E1924 100%);
  color: #FFF;
  font-size: 18.5px;
  font-weight: 900;
  letter-spacing: -0.4px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(122, 16, 25, 0.28);
  transition: transform 0.1s;
}
.lb-submit-btn:active { transform: scale(0.99); }
.lb-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.lb-form-note {
  font-size: 12.5px;
  color: #776E66;
  text-align: center;
  margin-top: 10px;
  line-height: 1.45;
}

/* Done & Instant Mobile PDF Box */
.lb-done-box {
  display: none;
  text-align: center;
  padding: 20px 10px 8px;
}
.lb-done-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ok);
  color: #FFF;
  font-size: 30px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.lb-done-box h4 {
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}
.lb-done-box p {
  font-size: 15px;
  color: #443E39;
  line-height: 1.58;
  margin-bottom: 18px;
}
.lb-pdf-cta {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--ok);
  color: #FFF;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(27, 107, 74, 0.25);
}
.lb-pdf-dl {
  display: block;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: #FAF7F2;
  border: 1.5px solid #D5C9BA;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

/* Shared Clean Legal Footer (NO phone number, NO placeholders, NO Peterpan School) */
.lb-footer {
  padding: 24px 20px 36px;
  background: #221E1B;
  color: #B5ADA5;
  font-size: 12.5px;
  line-height: 1.65;
}
.lb-footer strong { color: #EFEAE4; }

/* Sticky Bottom CTA Bar */
.lb-sticky {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  background: rgba(24, 20, 18, 0.96);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 90;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.lb-sticky-txt { color: #FFF; line-height: 1.3; }
.lb-sticky-txt strong { display: block; font-size: 14.5px; font-weight: 900; color: #FFE37A; }
.lb-sticky-txt span { font-size: 12.5px; color: #DDD6CE; }
.lb-sticky-btn {
  background: linear-gradient(135deg, #E86A08 0%, #C85000 100%);
  color: #FFF;
  font-size: 15.5px;
  font-weight: 900;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Privacy Modal */
.lb-modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lb-modal-card {
  background: #FFF;
  max-width: 440px;
  width: 100%;
  border-radius: 16px;
  padding: 22px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #3D3732;
}
.lb-modal-card h4 { font-size: 17px; font-weight: 900; color: var(--ink); margin-bottom: 10px; }
.lb-modal-close {
  margin-top: 16px;
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: var(--ink);
  color: #FFF;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* Reusable Inside-Book Preview Strip */
.lb-spread-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lb-spread-card {
  background: #FFF;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.lb-spread-card img { width: 100%; aspect-ratio: 148/210; object-fit: cover; }
.lb-spread-card span {
  display: block;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 800;
  color: #3B3530;
  text-align: center;
  background: #FAF6F0;
  border-top: 1px solid var(--line);
}

/* v3 4-Layer Cherry-Picker Filter Pills & Quiet PDF Escape Link */
.lb-age-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.lb-age-pill { height: 44px; border: 1.5px solid #d7cfc5; border-radius: 10px; background: #faf8f5; font-size: 13.5px; font-weight: 800; color: #3a332d; cursor: pointer; padding: 0 6px; transition: .12s; }
.lb-age-pill.on { background: #7A1019; border-color: #7A1019; color: #fff; }
.lb-nocall-alt { margin: 12px 0 0; text-align: center; font-size: 12px; color: #78716c; line-height: 1.5; }
.lb-nocall-alt a { color: #57534e; text-decoration: underline; font-weight: 700; }
