/* Valttisunnydept – custom styles (complements Tailwind CDN) */
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.font-display{font-family:'Sora','Inter',sans-serif}

/* 3D location pins */
.pin-wrap{position:relative;width:30px;height:34px;display:flex;align-items:flex-start;justify-content:center}
.pin-wrap::before{content:'';position:absolute;bottom:-4px;left:50%;width:34px;height:34px;margin-left:-17px;border-radius:50%;background:var(--c,#C8102E);opacity:0;animation:pinPulse 2.4s ease-out infinite;animation-delay:inherit}
.pin{position:relative;display:block;width:24px;height:24px;border-radius:50% 50% 50% 0;background:var(--c,#C8102E);transform:rotate(-45deg);border:2px solid #F5F5F5;box-shadow:4px 8px 12px rgba(0,0,0,.45),inset -4px -4px 0 rgba(0,0,0,.2)}
.pin::after{content:'';position:absolute;width:8px;height:8px;background:#F5F5F5;border-radius:50%;top:6px;left:6px}
.pin-user .pin{background:#D4AF37}
.drop{animation:pinDrop .8s cubic-bezier(.3,1.6,.5,1) both}
@keyframes pinDrop{from{transform:translateY(-40px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes pinPulse{0%{transform:scale(.2);opacity:.6}100%{transform:scale(1.7);opacity:0}}

/* Floating 3D card */
.scene{perspective:1200px}
.float-card{transform-style:preserve-3d;animation:floatCard 7s ease-in-out infinite}
@keyframes floatCard{0%,100%{transform:translateY(0) rotateX(8deg) rotateY(-12deg)}50%{transform:translateY(-14px) rotateX(6deg) rotateY(-8deg)}}

/* Leaflet tweaks */
.leaflet-container{font-family:inherit;background:#101827}
.leaflet-container.vsd-map-light{background:#e5e7eb}
.leaflet-container.vsd-map-dark{background:#101827}
/* Key-free OpenStreetMap tiles restyled to a dark theme for the hero map */
.vsd-tiles-dark{filter:invert(1) hue-rotate(180deg) brightness(.8) contrast(.95) saturate(.35)}
.leaflet-popup-content-wrapper{border-radius:14px}
.leaflet-popup-content{margin:14px 16px;font-size:13px;line-height:1.45}
.leaflet-div-icon{background:transparent;border:0}

/* Utilities */
.no-scrollbar::-webkit-scrollbar{display:none}
.no-scrollbar{scrollbar-width:none}
details>summary{list-style:none;cursor:pointer}
details>summary::-webkit-details-marker{display:none}
details[open] .faq-icon{transform:rotate(45deg)}
.faq-icon{transition:transform .25s ease}
.prose-legal h2{font-family:'Sora',sans-serif;font-weight:700;font-size:1.35rem;color:#101827;margin-top:2.25rem;margin-bottom:.75rem}
.prose-legal h3{font-weight:600;font-size:1.05rem;color:#101827;margin-top:1.5rem;margin-bottom:.5rem}
.prose-legal p,.prose-legal li{color:#374151;line-height:1.75;margin-bottom:.75rem}
.prose-legal ul{list-style:disc;padding-left:1.4rem}
.prose-legal a{color:#C8102E;text-decoration:underline}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(120%);transition:transform .35s ease;z-index:9999}
.toast.show{transform:translateX(-50%) translateY(0)}
@media (prefers-reduced-motion:reduce){.drop,.float-card,.pin-wrap::before{animation:none}}