/* Offender Locator — sexoffendersearch.com
   Shared styles. Palette mirrors the iOS app: navy #0B1220, cyan accent. */

:root {
  --bg: #0B1220;
  --bg-soft: #101a2e;
  --card: #14203a;
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f3f6fa;
  --text-secondary: #b8c4d4;
  --text-muted: #7b8798;
  --accent: #22b8cf;
  --accent-deep: #0e7490;
  --danger: #ef4444;
  --success: #10b981;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav-logo span { font-weight: 800; letter-spacing: 1.5px; font-size: 14px; color: var(--text); }
.nav-logo .pro { color: var(--accent); letter-spacing: 1px; font-size: 11px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block; background: var(--accent-deep); color: #fff !important;
  font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #0c657e; text-decoration: none; transform: translateY(-1px); }
.btn-big { font-size: 16px; padding: 15px 34px; }
.btn-ghost {
  background: transparent; border: 1px solid var(--card-border);
  color: var(--text-secondary) !important;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding: 84px 0 60px;
  background:
    radial-gradient(ellipse 900px 480px at 70% -10%, rgba(14, 116, 144, 0.35), transparent),
    radial-gradient(ellipse 640px 420px at 10% 20%, rgba(34, 184, 207, 0.12), transparent);
}
.hero-grid { display: flex; align-items: center; gap: 56px; }
.hero-copy { flex: 1.2; }
.hero-kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 16px;
}
h1.hero-title { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.hero-sub { margin-top: 20px; font-size: 18px; color: var(--text-secondary); max-width: 34em; }
.hero-ctas { margin-top: 32px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.hero-phone { flex: 1; display: flex; justify-content: center; }
.hero-phones { display: flex; align-items: center; }
.phone {
  width: 250px; border-radius: 42px; padding: 12px;
  background: #1a2438; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.phone img { width: 100%; border-radius: 32px; display: block; }
.phone-back {
  width: 220px; margin-right: -48px; transform: translateY(26px) rotate(-4deg);
  opacity: 0.95;
}
.hero-phones .phone:not(.phone-back) { position: relative; z-index: 2; }
@media (max-width: 880px) {
  .hero-grid { flex-direction: column; }
  .hero { padding-top: 56px; }
}
@media (max-width: 560px) {
  .phone-back { display: none; }
  .phone { width: 260px; }
}

/* ---------- Trust bar ---------- */
.trust {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-soft);
  padding: 18px 0;
}
.trust-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  color: var(--text-secondary); font-size: 14px; font-weight: 600;
}
.trust-inner span::before { content: "✓  "; color: var(--success); font-weight: 800; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; text-align: center;
}
h2.section-title {
  margin-top: 10px; text-align: center;
  font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.5px;
}
.section-sub {
  margin: 14px auto 0; text-align: center; color: var(--text-secondary);
  font-size: 16px; max-width: 40em;
}

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 26px;
}
.feature .emoji { font-size: 28px; }
.feature h3 { margin-top: 14px; font-size: 17px; font-weight: 700; }
.feature p { margin-top: 8px; font-size: 14px; color: var(--text-secondary); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 44px; height: 44px; line-height: 44px; margin: 0 auto;
  background: rgba(34, 184, 207, 0.14); border: 1px solid rgba(34, 184, 207, 0.4);
  color: var(--accent); border-radius: 50%; font-weight: 800; font-size: 18px;
}
.step h3 { margin-top: 16px; font-size: 17px; }
.step p { margin-top: 8px; font-size: 14px; color: var(--text-secondary); }

/* Alerts showcase */
.alerts-grid { display: flex; align-items: center; gap: 56px; margin-top: 48px; }
.alerts-copy { flex: 1; }
.alerts-copy ul { list-style: none; margin-top: 22px; }
.alerts-copy li {
  padding: 10px 0 10px 34px; position: relative;
  color: var(--text-secondary); font-size: 15px;
}
.alerts-copy li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  background: rgba(16, 185, 129, 0.15); color: var(--success);
  border-radius: 50%; font-size: 12px; font-weight: 800;
}
.alerts-copy li strong { color: var(--text); }
.email-shot { flex: 1; }
.email-shot img {
  width: 100%; max-width: 440px; display: block; margin: 0 auto;
  border-radius: 16px; border: 1px solid var(--card-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
@media (max-width: 880px) { .alerts-grid { flex-direction: column; } }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.35), rgba(34, 184, 207, 0.12));
  border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);
  text-align: center;
}

/* ---------- Legal / prose pages ---------- */
.page { padding: 64px 0 80px; }
.page-header h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.5px; }
.page-header .updated { margin-top: 8px; color: var(--text-muted); font-size: 14px; }
.prose { margin-top: 36px; max-width: 760px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 36px 0 10px; }
.prose h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-secondary); font-size: 15px; }
.prose p { margin-bottom: 12px; }
.prose ul { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose .allcaps { text-transform: none; }
.callout {
  background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px; padding: 16px 18px; margin: 18px 0;
}
.callout p { color: #fca5a5; margin: 0; font-size: 14px; font-weight: 500; }
.callout-info {
  background: rgba(34, 184, 207, 0.08); border-color: rgba(34, 184, 207, 0.35);
}
.callout-info p { color: #7dd3e0; }

/* FAQ */
.faq-item {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 4px 22px; margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 15px; padding: 16px 0;
  list-style: none; position: relative; padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 12px;
  color: var(--accent); font-size: 22px; font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-secondary); font-size: 14px; padding-bottom: 16px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--card-border);
  background: var(--bg-soft);
  padding: 44px 0 36px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.footer-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-top img { width: 28px; height: 28px; border-radius: 6px; }
.footer-top span { font-weight: 800; letter-spacing: 1.5px; font-size: 13px; }
.footer-links { margin-left: auto; display: flex; gap: 22px; }
.footer-links a { color: var(--text-secondary); font-size: 13px; }
.footer-legal { margin-top: 22px; color: var(--text-muted); font-size: 12px; line-height: 1.7; max-width: 70em; }
.footer-copy { margin-top: 14px; color: var(--text-muted); font-size: 12px; }
.footer-copy a { color: var(--text-muted); text-decoration: underline; }
