/* Supreme Security – WordPress-specific additions (main styles live in site.css). */

/* Reveal animations: only hidden when JavaScript is running */
.ss-js [data-ss-reveal] {
  opacity: 0;
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.ss-js [data-ss-reveal="up"] { transform: translateY(26px); }
.ss-js [data-ss-reveal="left"] { transform: translateX(-36px); }
.ss-js [data-ss-reveal="right"] { transform: translateX(36px); }
.ss-js [data-ss-reveal].ss-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ss-js [data-ss-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Offset anchors for the fixed header */
section[id] { scroll-margin-top: 64px; }

/* WordPress admin bar */
.admin-bar #ss-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #ss-header { top: 46px; } }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #1266D5;
  outline-offset: 2px;
}
[tabindex="-1"]:focus { outline: none; }
[aria-invalid="true"] { border-color: #E53945 !important; }

/* Notices used by the no-JS fallback */
.bg-green-50 { background-color: #f0fdf4; }
.text-green-700 { color: #15803d; }
.bg-red-50 { background-color: #fef2f2; }

/* Floating WhatsApp button appears after a short delay */
.ss-wa { animation: ss-fade-in .4s ease-out 1.5s both; }
@keyframes ss-fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Content of regular WordPress pages (Privacy, Cookies, any new page) */
.ss-content > * + * { margin-top: 1rem; }
.ss-content h2 { font-family: var(--font-display), sans-serif; font-size: 1.25rem; font-weight: 600; color: #0B1F3A; margin-top: 2rem; }
.ss-content h3 { font-family: var(--font-display), sans-serif; font-size: 1.1rem; font-weight: 600; color: #0B1F3A; margin-top: 1.5rem; }
.ss-content a { color: #1266D5; text-decoration: underline; }
.ss-content ul { list-style: disc; padding-left: 1.5rem; }
.ss-content ol { list-style: decimal; padding-left: 1.5rem; }
.ss-content img { max-width: 100%; height: auto; border-radius: .5rem; }

/* Font variables at root so fonts load even if a plugin replaces the <body> tag */
:root{--font-display:"Manrope","Manrope Fallback",ui-sans-serif,system-ui,sans-serif;--font-sans:"Inter","Inter Fallback",ui-sans-serif,system-ui,sans-serif}
body{font-family:var(--font-sans)}
