/* Screen version of the A4 guide + toolbar + lead popup */
@media screen {
  html { background: #0b1020; }
  body { background: #0b1020; padding: 72px 12px 40px; }
  .page { width: auto; max-width: 820px; height: auto; min-height: 0; margin: 0 auto 18px; border-radius: 18px; padding: 28px 24px 54px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
  .page:not(.cover):not(.promo) { background: #fff; }
  .cover { padding: 34px 26px 80px; }
  .cover .kick { margin-top: 40px; }
  .cover .toc { margin-top: 28px; }
  .cover .bot { position: static; margin-top: 28px; flex-wrap: wrap; gap: 10px; }
  .ftr { left: 24px; right: 24px; bottom: 14px; }
}
@media screen and (max-width: 640px) {
  body { font-size: 14px; }
  .page { padding: 22px 16px 60px; border-radius: 14px; }
  .cover h1 { font-size: 34px; }
  .cover .lead { font-size: 15px; }
  .cover .toc, .g2, .g3, .svc, .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  h2 { font-size: 22px; }
  table { font-size: 12.5px; display: block; overflow-x: auto; }
  .ftr { flex-direction: column; gap: 2px; }
  .usp { flex-direction: column; align-items: flex-start; }
}
@media print { .bar, .ld-ov { display: none !important; } body { padding: 0; } }
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(11,16,32,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #23304d; font-family: Poppins, system-ui, sans-serif; }
.bar a { text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 9px 12px; }
.bar .back { color: #c8cfdd; }
.bar .sp { flex: 1; }
.bar .pdf { background: #ff7a00; color: #111; }
.bar .wa { background: #18c26a; color: #fff; }
/* lead popup */
.ld-ov { position: fixed; inset: 0; z-index: 100000; background: rgba(5,8,16,.78); display: none; align-items: center; justify-content: center; padding: 14px; font-family: Poppins, system-ui, sans-serif; }
.ld-ov.show { display: flex; }
.ld-m { position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto; background: #fff; color: #1b2230; border-radius: 20px; padding: 20px 18px 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: ldIn .25s ease-out; }
@keyframes ldIn { from { transform: translateY(24px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.ld-x { position: absolute; right: 10px; top: 6px; border: 0; background: none; font-size: 30px; line-height: 1; color: #8a93a6; cursor: pointer; padding: 4px 8px; }
.ld-top { display: flex; gap: 12px; align-items: center; margin-right: 26px; }
.ld-top img { width: 48px; height: 48px; border-radius: 50%; }
.ld-top b { display: block; font-size: 18px; font-weight: 800; line-height: 1.2; }
.ld-top span { font-size: 12.5px; color: #5b6475; }
.ld-lead { margin: 12px 0 4px; font-size: 13.5px; line-height: 1.5; color: #3a4252; background: #fff5ea; border: 1px solid #ffd2a6; border-radius: 12px; padding: 10px 12px; }
.ld-lead b { color: #c25a00; }
.ld-f label { display: block; font-size: 12.5px; font-weight: 700; color: #3a4252; margin-top: 9px; }
.ld-f input, .ld-f select, .ld-f textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1.5px solid #d9dde6; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 500; color: #1b2230; background: #fff; }
.ld-f input:focus, .ld-f select:focus, .ld-f textarea:focus { outline: none; border-color: #ff7a00; }
.ld-err { margin-top: 8px; color: #d4161f; font-size: 13px; font-weight: 700; }
.ld-b, .ld-b2 { display: block; width: 100%; margin-top: 12px; padding: 13px; border: 0; border-radius: 12px; background: #ff7a00; color: #111; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.ld-b:disabled { opacity: .6; }
.ld-b2 { background: #eef0f5; }
.ld-n { margin-top: 8px; font-size: 11px; color: #6b7385; line-height: 1.4; }
.ld-ok { text-align: center; padding: 10px 4px 4px; }
.ld-tick { width: 58px; height: 58px; border-radius: 50%; background: #18c26a; color: #fff; font-size: 32px; font-weight: 900; line-height: 58px; margin: 6px auto 10px; }
.ld-ok b { font-size: 20px; }
.ld-ok p { color: #5b6475; font-size: 14px; margin: 6px 0 4px; }
.ld-wa { display: block; margin-top: 10px; padding: 13px; border-radius: 12px; background: #18c26a; color: #fff; text-decoration: none; font-weight: 800; }

.ld-f textarea { resize: vertical; min-height: 78px; }
