/* Shared styling for the static pages (About, Privacy, Contact, Guides) */
* { box-sizing: border-box; margin: 0; padding: 0; }
body.doc-page { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f0f2f5; color: #222; line-height: 1.6; }
.doc-header { display: flex; align-items: center; justify-content: flex-start; gap: 8px 24px; padding: 16px 32px; background: #fff; border-bottom: 1px solid #dde1e7; }
.top-nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.top-nav a { padding: 8px 12px; border-radius: 6px; color: #333; font-weight: 600; font-size: 15px; text-decoration: none; }
.top-nav a:hover { background: #eef1f5; }
.top-nav a[aria-current=page] { background: #e6f0fc; color: #005bb5; }
.doc-header .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #222; text-decoration: none; }
.doc-header .brand-logo { width: 36px; height: 36px; flex: none; display: block; }
.btn { display: inline-block; padding: 10px 20px; border: 1px solid #c7ccd4; border-radius: 6px; background: #fff; color: #222; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn-primary { background: #0073e6; border-color: #0073e6; color: #fff; }
.btn-primary:hover { background: #005bb5; }
.doc { max-width: 760px; margin: 28px auto; padding: 28px 32px 36px; background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.doc h1 { font-size: 28px; line-height: 1.25; margin-bottom: 12px; }
.doc h2 { font-size: 19px; margin: 24px 0 8px; }
.doc p, .doc ul, .doc ol { margin-bottom: 12px; }
.doc ul, .doc ol { padding-left: 24px; }
.doc li { margin-bottom: 4px; }
.doc a { color: #0066cc; }
.doc .meta { color: #666; font-size: 14px; }
.doc .placeholder { background: #fff8e1; border-left: 4px solid #f0b400; padding: 8px 12px; }
.guide-list { list-style: none; padding-left: 0 !important; }
.guide-list li { padding: 12px 0; border-bottom: 1px solid #eceff3; }
.guide-list a { font-weight: 600; font-size: 17px; }
.guide-list span { display: block; color: #555; font-size: 14px; }

/* Footer (shared with the card maker page) */
.site-footer { text-align: center; padding: 20px 16px 32px; color: #666; font-size: 14px; }
.site-footer nav { margin-bottom: 6px; }
.site-footer a { color: #0066cc; text-decoration: none; margin: 0 4px; }
.site-footer a[aria-current=page] { font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }

/* Ad slots: invisible until ads.js turns ads on */
.ad-slot { display: none; max-width: 760px; margin: 16px auto; text-align: center; }
.ad-slot.is-live { display: block; min-height: 90px; }
.ad-slot .adsbygoogle { display: block; }

@media (max-width: 600px) {
  .doc-header { padding: 12px 16px; flex-wrap: wrap; }
  .doc { margin: 16px 12px; padding: 20px 18px 26px; }
}
@media print { .doc-header, .ad-slot, .site-footer { display: none !important; } body.doc-page { background: #fff; } .doc { box-shadow: none; margin: 0; } }

/* Contact form */
.contact-form { display: grid; gap: 14px; margin: 16px 0 20px; }
.contact-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-weight: 600; font-size: 14px; }
.contact-form label[hidden] { display: none; }
.contact-form label > input, .contact-form label > select, .contact-form label > textarea { flex: 1 1 100%; }
.contact-form .opt { font-weight: 400; color: #666; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: 9px 10px; border: 1px solid #c7ccd4; border-radius: 6px; background: #fff; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid #0073e6; outline-offset: 1px; }
.contact-form .btn { justify-self: start; cursor: pointer; }
.contact-form .btn:disabled { opacity: .6; cursor: default; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#cf-status.ok { color: #1b7a34; }
#cf-status.err { color: #b3261e; }

#unsub-status.ok { color: #1b7a34; }
#unsub-status.err { color: #b3261e; margin-top: 10px; }
#unsub-box .btn { cursor: pointer; margin: 6px 0; }

[hidden] { display: none !important; }

.cf-turnstile-slot:not(:empty) { margin: 8px 0; }
