/* =============================================================
   style.css — ReDevice global stylesheet
   Load order: tailwind.css → style.css → [page].css
   ============================================================= */

/* Typography */
body { font-family: 'Outfit', system-ui, sans-serif; }

/* Brand link colour */
a { color: #f85d00; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Accessible focus ring */
:focus-visible { outline: 2px solid #f85d00; outline-offset: 3px; }

/* Skip-to-content (accessibility) */
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 200;
  padding: .5rem 1rem;
  background: #f85d00; color: #fff;
  font-weight: 700; font-size: .875rem;
  border-radius: .5rem;
}

/* Scroll-reveal animation */
.section-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.section-reveal.in-view { opacity: 1; transform: none; }

/* Back-to-top button */
#btt {
  position: fixed; bottom: 5.5rem; right: 1.25rem; z-index: 45;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(248,93,0,.88); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  backdrop-filter: blur(8px);
}
#btt.btt-show { opacity: 1; pointer-events: auto; }
#btt:hover { transform: translateY(-3px); background: #f85d00; }

/* Emoji sizing */
.emoji {
  height: 1em; width: 1em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
  display: inline-block;
}

/* Utilities missing from pre-compiled tailwind.css (used by #iphone-repair & #pilihan) */
.gap-8 { gap: 2rem; }
.h-44 { height: 11rem; }
.max-w-3xl { max-width: 48rem; }
@media (min-width: 1024px) {
  .lg\:gap-12 { gap: 3rem; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
  .section-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =============================================================
   Privacy page styles
   ============================================================= */

.priv-container {
  max-width: 720px;
  margin: 4.5rem auto 0;
  padding: 2.5rem 1.5rem 4rem;
}

.priv-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
}

.priv-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.priv-breadcrumb a:hover {
  color: #f85d00;
  text-decoration: none;
}

h1 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #111213;
}

.meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

h2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: #111213;
}

p { font-size: 0.95rem; margin-bottom: 0.6rem; }
li { font-size: 0.95rem; margin-bottom: 0.3rem; }

ul {
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  list-style-type: disc;
}

strong { color: #111213; }

.box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
}

.priv-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.8rem;
  color: #6b7280;
  border-top: 1px solid #1f2937;
  background: #111213;
}

.priv-footer p { font-size: 0.8rem; color: #6b7280; margin-bottom: 0.25rem; }
.priv-footer a { color: #6b7280; text-decoration: underline; }
.priv-footer a:hover { color: #d1d5db; }
