/*
 * Static-site overrides for landing.css (copied from the "Gabungan 1" design) plus the legal pages.
 * landing.css was written for a full-screen container inside the Expo web app; here the page scrolls.
 */
html { scroll-behavior: smooth; }
body { margin: 0; background: #FAFAFA; }
.lp { position: static; inset: auto; overflow: visible; overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
.lp > main { flex: 1; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lp-skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--ink); color: #fff !important; padding: 8px 14px; border-radius: 8px; }
.lp-skip:focus { left: 8px; }

/* Legal pages */
.lp-legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 96px; }
.lp-legal__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.lp-legal__nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; background: var(--el); }
.lp-legal__nav a[aria-current='page'] { background: var(--ink); color: #fff; }
.lp-legal h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.04; }
.lp-legal__meta { color: var(--muted); font-size: 14px; margin-top: 12px !important; }
.lp-legal__intro { font-size: 19px; margin-top: 24px !important; }
.lp-legal section { margin-top: 40px; }
.lp-legal h2 { font-size: 24px; line-height: 1.15; margin-bottom: 12px; }
.lp-legal p { line-height: 1.65; }
.lp-legal p + p { margin-top: 12px; }
.lp-legal ul { padding-left: 22px; margin: 12px 0 0; line-height: 1.65; }
.lp-legal li + li { margin-top: 8px; }
.lp-legal a { text-underline-offset: 3px; word-break: break-word; }
.lp-notfound { padding-block: 96px 140px; }
.lp-notfound p { margin-top: 20px !important; font-weight: 700; }

/* Hero floating cards (driven by /landing/hero-float.js): hover stops one, drag moves it. */
.lp-hero__visual .lp-float, .lp-hero__visual .lp-badge-float {
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  will-change: translate; transition: scale .2s ease, box-shadow .2s ease;
}
.lp-hero__visual .lp-float:hover, .lp-hero__visual .lp-badge-float:hover { scale: 1.03; }
.lp-hero__visual .is-dragging { cursor: grabbing; scale: 1.05; box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 18px 40px rgba(0,0,0,0.18); }
.lp-hero__visual .lp-float img { pointer-events: none; -webkit-user-drag: none; }
@media (prefers-reduced-motion: reduce) { .lp-hero__visual .lp-float, .lp-hero__visual .lp-badge-float { transition: none; } }

