/* Noor Alert public site. Same palette as the panel and the app (D68), same motifs (D70). */
:root { --bg: #F7F6FA; --text: #2D283A; --muted: #6F6781; --border: #EBE7F0; --primary: #7B63B1; --primary-dark: #5B4790; --card: #FFFFFF; --sun: #F8D34A; --ray: #F5C542; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; overflow-x: hidden; }
a { color: var(--primary-dark); }
.wrap { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 0 20px 48px; }
header.hero { padding-top: 96px; text-align: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 40px; letter-spacing: -0.5px; color: var(--text); }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245,197,66,.35); }
.tagline { font-size: 20px; color: var(--muted); margin: 10px auto 0; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--primary); }
.btn.primary { background: var(--primary); color: #fff; }
.btn.secondary { background: #fff; color: var(--primary-dark); }
.btn:hover { filter: brightness(0.96); }
.powered { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; font-size: 13px; color: var(--muted); }
.powered b { color: var(--primary-dark); }
.powered .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px rgba(245,197,66,.4); }
header.hero .actions { margin-bottom: 44px; }   /* keeps the envelope band where it was before the credit moved to the footer */
.footer-powered { width: 100%; margin-top: 0; margin-bottom: 4px; }
section { margin-top: 44px; }
h2 { font-size: 22px; margin: 0 0 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.card .n { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
ul.plain { padding-left: 20px; color: var(--muted); }
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
footer a { color: var(--muted); }
.notice h1 { font-size: 30px; margin: 0 0 6px; }
.notice h2 { font-size: 19px; margin-top: 28px; }
.notice p, .notice li { color: #3F3850; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

/* The sun in the top-left corner: short rays turn slowly, long lines of light stream into the page and fade with distance. */
.corner-sun { position: fixed; top: -22px; left: -22px; width: 380px; height: 380px; pointer-events: none; z-index: 0; }
@media (max-width: 640px) { .corner-sun { width: 250px; height: 250px; top: -16px; left: -16px; } }
.sun-rays { transform-origin: 70px 70px; transform-box: view-box; animation: sun-spin 60s linear infinite; }
/* One light line lies along each short ray and turns with it. A shot is a bright dash with a smaller one behind it leaving the ray's tip, slowing and fading as it travels; then that line rests. Twelve unrelated cycle lengths make the shots land at irregular moments; a shot takes 55% of its ray's cycle (4 to 6.5 s), so two or three are usually drifting out at once. */
.sun-stream { stroke-dasharray: 9 14 18 2000; stroke-dashoffset: 41; animation: sun-shot 11s infinite; }
.sun-stream-0 { animation-duration: 8.3s; animation-delay: -1.7s; } .sun-stream-1 { animation-duration: 10.7s; animation-delay: -7.9s; } .sun-stream-2 { animation-duration: 7.9s; animation-delay: -4.4s; } .sun-stream-3 { animation-duration: 11.4s; animation-delay: -0.6s; } .sun-stream-4 { animation-duration: 9.1s; animation-delay: -9.3s; } .sun-stream-5 { animation-duration: 7.6s; animation-delay: -3.1s; } .sun-stream-6 { animation-duration: 11.9s; animation-delay: -6.2s; } .sun-stream-7 { animation-duration: 9.6s; animation-delay: -8.5s; } .sun-stream-8 { animation-duration: 8.7s; animation-delay: -2.4s; } .sun-stream-9 { animation-duration: 10.2s; animation-delay: -10.8s; } .sun-stream-10 { animation-duration: 9.9s; animation-delay: -5.1s; } .sun-stream-11 { animation-duration: 11.1s; animation-delay: -3.7s; }
@keyframes sun-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes sun-shot { 0% { stroke-dashoffset: 41; animation-timing-function: cubic-bezier(0.25, 0.5, 0.5, 1); } 55% { stroke-dashoffset: -246; } 100% { stroke-dashoffset: -246; } }

/* Envelopes blowing across, just under the credit line. */
.breeze-band { position: relative; width: 100vw; left: 50%; margin-left: -50vw; height: 84px; overflow: hidden; pointer-events: none; margin-top: 4px; }
.breeze { position: absolute; left: 0; will-change: transform; animation: breeze 22s linear infinite; }
.breeze .bob { animation: bob 3s ease-in-out infinite; }
.breeze svg { width: 28px; height: 16px; display: block; }
.breeze-0 { top: 10px; animation-duration: 24s; animation-delay: -2s; }
.breeze-1 { top: 36px; animation-duration: 30s; animation-delay: -11s; }
.breeze-2 { top: 22px; animation-duration: 20s; animation-delay: -16s; }
.breeze-3 { top: 54px; animation-duration: 34s; animation-delay: -6s; }
.breeze-4 { top: 4px;  animation-duration: 27s; animation-delay: -22s; }
.breeze-5 { top: 42px; animation-duration: 19s; animation-delay: -9s; }
.breeze-6 { top: 28px; animation-duration: 23s; animation-delay: -14s; }
.breeze-1 .bob { animation-delay: -1s; } .breeze-3 .bob { animation-delay: -2s; } .breeze-5 .bob { animation-delay: -0.5s; } .breeze-6 .bob { animation-delay: -1.5s; }
@keyframes breeze { from { transform: translateX(-80px); } to { transform: translateX(calc(100vw + 80px)); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-7px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) {
  .sun-rays, .sun-stream, .breeze, .breeze .bob { animation: none; }
  .sun-stream { stroke-dasharray: 16 28; stroke-dashoffset: 0; }
  .breeze-0 { left: 10%; } .breeze-1 { left: 30%; } .breeze-2 { left: 50%; } .breeze-3 { left: 65%; } .breeze-4 { left: 80%; } .breeze-5 { left: 92%; } .breeze-6 { left: 20%; }
}
@media print { .breeze-band, .corner-sun { display: none; } }
