/* ================================================================
   FinderHelper — www.finderhelper.com
   Royal Violet #6F42C1 · Amber Gold #F5A623
   ================================================================ */

:root {
  --violet: #6F42C1;
  --violet-dark: #4A2D8A;
  --violet-light: #F3EEFB;
  --violet-mid: #E8DEFA;
  --amber: #F5A623;
  --amber-light: #FFF8E7;
  --green: #28a745;
  --red: #dc3545;
  --bg: #FAFAFE;
  --bg-white: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
  --border: #e6e6e6;
  --border-light: #f0f0f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(111, 66, 193, 0.06);
  --shadow-lg: 0 8px 40px rgba(111, 66, 193, 0.10);
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-system);
  --font-body: var(--font-system);
  --max-w: 1140px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--violet); text-decoration: none; transition: color .2s; }
a:hover { color: var(--violet-dark); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

/* ══════════════════════════════════════════
   NAV
   ══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem;
  color: var(--violet);
}
.nav-brand svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
  color: var(--text-secondary); transition: all .2s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--violet-light); color: var(--violet); }
.nav-links .nav-support-link {
  background: var(--amber);
  color: var(--text);
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.22);
}
.nav-links .nav-support-link:hover,
.nav-links .nav-support-link.active {
  background: #e69800;
  color: var(--text);
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: all .3s; border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-white);
    flex-direction: column; padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: none; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 12px; border-radius: var(--radius-sm); }
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  background: linear-gradient(145deg, var(--violet) 0%, var(--violet-dark) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(245,166,35,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 80px 24px 90px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 20px;
}
.hero-text h1 .accent { color: var(--amber); }
.hero-text p {
  font-size: 1.15rem; opacity: 0.9;
  max-width: 480px; margin-bottom: 32px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer; border: none; transition: all .25s;
}
.btn-primary { background: var(--amber); color: var(--text); }
.btn-primary:hover { background: #e69800; color: var(--text); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,166,35,.3); }
.btn-secondary { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* Phone mockup — all sizes in px, fully isolated */
.hero-visual { display: flex; justify-content: center; align-items: center; min-width: 0; }
.phone-mockup {
  width: min(100%, 260px); height: 540px;
  background: #1a1a2e; border-radius: 36px;
  padding: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  position: relative; overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,0.15);
}
.phone-screen {
  width: 100%; height: 100%;
  background: #fff; border-radius: 28px;
  overflow: hidden; display: flex; flex-direction: column;
  font-family: var(--font-body);
  font-size: 11px; line-height: 1.3; color: #2D2D3F;
}

/* iOS Status Bar */
.ph-status {
  flex-shrink: 0;
  height: 44px; background: #F5F5F5; padding: 14px 14px 0;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
}
.ph-time { font-size: 12px; font-weight: 700; color: #1a1a2e; }
.ph-notch {
  width: 80px; height: 24px; background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
}

/* App Header */
.ph-header {
  flex-shrink: 0;
  height: 40px; background: #F5F5F5;
  display: flex; align-items: center; gap: 7px;
  padding: 0 12px;
  border-bottom: 1px solid #E0E0E0;
}
.ph-header-title { font-size: 14px; font-weight: 700; color: #000; }

/* Item Cards body */
.ph-body {
  flex: 1; padding: 6px; display: flex; flex-direction: column;
  gap: 6px; overflow: hidden; background: #fff;
}
.ph-card {
  display: flex; gap: 8px; padding: 7px;
  background: #FAFAFE; border-radius: 8px;
  border: 1px solid #E0E0E0; flex-shrink: 0;
  overflow: hidden;
}
.ph-thumb {
  width: 50px; height: 50px; border-radius: 6px; flex-shrink: 0;
}
.ph-card-right { flex: 1; min-width: 0; overflow: hidden; }
.ph-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 3px;
}
.ph-badge {
  font-size: 8px; font-weight: 800; padding: 1px 6px;
  border-radius: 3px; letter-spacing: 0.3px;
  display: inline-block; line-height: 1.4;
}
.ph-badge-found { background: #28a745; color: #fff; }
.ph-badge-lost { background: #dc3545; color: #fff; }
.ph-badge-recovered { background: #28a745; color: #fff; }
.ph-dots { font-size: 10px; color: #888; letter-spacing: 1px; font-weight: 800; }
.ph-meta { font-size: 9px; color: #555; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-meta-label { font-weight: 700; color: #2D2D3F; }

/* Match Banner */
.ph-match-banner {
  display: flex; align-items: center; gap: 3px;
  margin-top: 3px; padding: 3px 6px;
  background: #F3EEFB; border-radius: 4px;
  font-size: 8px; color: #555;
}

/* Tab Bar — 5 tabs */
.ph-tabbar {
  flex-shrink: 0;
  height: 52px; background: #F5F5F5;
  border-top: 1px solid #E0E0E0;
  display: flex; align-items: center; justify-content: space-around;
  padding: 2px 2px 6px;
}
.ph-tab {
  display: flex; flex-direction: column; align-items: center;
  gap: 1px; position: relative; width: 20%;
}
.ph-tab-label { font-size: 7px; font-weight: 600; color: #888; white-space: nowrap; }
.ph-tab-active .ph-tab-label { color: #6F42C1; }
.ph-tab-badge {
  position: absolute; top: -3px; right: 4px;
  min-width: 12px; height: 12px;
  background: #dc3545; color: #fff;
  font-size: 7px; font-weight: 800;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 2px; line-height: 1;
}
.ph-tab-badge-amber { background: #dc3545; }

@media (max-width: 768px) {
  .nav-inner { padding: 0 18px; }
  .nav-brand { font-size: 1.05rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 50px 20px 60px; gap: 32px; }
  .hero-text h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-text p { margin-left: auto; margin-right: auto; max-width: 32rem; }
  .hero-buttons { justify-content: center; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-highlights { margin-top: 22px; }
  .hero-highlight { text-align: left; }
  .phone-mockup { width: min(100%, 220px); height: 460px; }
  .ph-thumb { width: 40px; height: 40px; }
  .ph-header { height: 34px; }
  .ph-header-title { font-size: 12px; }
  .ph-tabbar { height: 44px; }
  .ph-tab-label { font-size: 6px; }
}

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section {
  max-width: var(--max-w); margin: 0 auto; padding: 80px 24px;
}
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--violet); background: var(--violet-light);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 560px; line-height: 1.7; margin-bottom: 48px;
}
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  text-align: center; transition: all .3s; position: relative;
}
.step-card:hover { border-color: var(--violet); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-number {
  width: 48px; height: 48px; background: var(--violet);
  color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; gap: 18px; align-items: flex-start; transition: all .3s;
}
.feature-card:hover { border-color: var(--violet); box-shadow: var(--shadow); }
.feature-text h3 { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.feature-text p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* Stats bar */
.stats-bar { background: var(--violet); color: #fff; padding: 48px 24px; }
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item h3 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; margin-bottom: 4px; }
.stat-item h3 .amber { color: var(--amber); }
.stat-item p { font-size: 0.85rem; opacity: 0.8; font-weight: 500; }

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-dark) 100%);
  border-radius: var(--radius); padding: 56px 40px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(245,166,35,0.1) 0%, transparent 60%);
}
.cta-banner h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; position: relative; }
.cta-banner .btn { position: relative; }

.support-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fff6e4 100%);
  border: 1px solid rgba(245, 166, 35, 0.28);
  box-shadow: var(--shadow);
}
.support-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}
.support-banner p {
  color: var(--text-secondary);
  line-height: 1.75;
}
.support-banner .section-label {
  margin-bottom: 14px;
  background: var(--amber-light);
  color: #9b5c00;
}
.support-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}
.support-banner-actions .btn {
  justify-content: center;
}
.support-banner-secondary {
  background: rgba(111, 66, 193, 0.1);
  color: var(--violet);
  border-color: rgba(111, 66, 193, 0.18);
}
.support-banner-secondary:hover {
  background: rgba(111, 66, 193, 0.16);
  color: var(--violet-dark);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  background: var(--text); color: rgba(255,255,255,0.7); padding: 56px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-brand-desc { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: #fff; font-weight: 700; font-size: 0.85rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col a { display: block; padding: 4px 0; color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  max-width: var(--max-w); margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--amber); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ══════════════════════════════════════════
   HELP CENTER — Facebook-style layout
   ══════════════════════════════════════════ */

/* Help hero (compact banner) */
.help-hero {
  background: linear-gradient(145deg, var(--violet), var(--violet-dark));
  color: #fff; padding: 48px 24px; text-align: center; position: relative;
}
.help-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(245,166,35,0.1) 0%, transparent 60%);
}
.help-hero h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 10px; position: relative; }
.help-hero p { opacity: 0.85; font-size: 1.05rem; position: relative; }

/* Two-column: sidebar + content */
.help-layout {
  max-width: var(--max-w); margin: 0 auto; padding: 32px 24px 80px;
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
}

/* Sidebar */
.help-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.help-sidebar-title {
  font-weight: 800; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
  margin-bottom: 12px; padding-left: 14px;
}
.help-sidebar a {
  display: block;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem;
  color: var(--text-secondary); transition: all .2s; margin-bottom: 2px;
}
.help-sidebar a:hover { background: var(--violet-light); color: var(--violet); }
.help-sidebar a.active { background: var(--violet); color: #fff; }

/* Help hub cards grid */
.help-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
.help-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all .3s; display: flex; flex-direction: column;
  color: var(--text);
}
.help-card:hover { border-color: var(--violet); box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--text); }
.help-card h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.help-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.help-card .card-link { margin-top: 14px; font-weight: 700; font-size: 0.85rem; color: var(--violet); display: flex; align-items: center; gap: 4px; }

/* Help article */
.help-content { min-width: 0; }
.help-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 24px; flex-wrap: wrap;
}
.help-breadcrumb a { color: var(--violet); font-weight: 600; }
.help-breadcrumb .sep { color: var(--border); }
.help-article h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.help-article .article-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.help-article h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 32px 0 14px; color: var(--text); }
.help-article h3 { font-weight: 700; font-size: 1.05rem; margin: 24px 0 10px; }
.help-article p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.75; }
.help-article ul, .help-article ol { margin: 0 0 20px 24px; color: var(--text-secondary); line-height: 1.75; }
.help-article li { margin-bottom: 6px; }
.help-article .info-box {
  background: var(--violet-light); border-left: 4px solid var(--violet);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 24px 0; font-size: 0.92rem; color: var(--text);
}
.help-article .warning-box {
  background: var(--amber-light); border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 24px 0; font-size: 0.92rem; color: var(--text);
}
.related-articles { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.related-articles h3 {
  font-weight: 800; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 16px;
}
.related-links { display: flex; flex-direction: column; gap: 8px; }
.related-links a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; color: var(--text); transition: all .2s;
}
.related-links a:hover { border-color: var(--violet); background: var(--violet-light); color: var(--violet); }

.hero-highlight-grid,
.visual-card-grid,
.journey-grid,
.checklist-grid,
.quick-start-grid,
.comparison-grid,
.mini-card-grid {
  display: grid;
  gap: 20px;
}

.hero-highlight-grid,
.journey-grid,
.quick-start-grid,
.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checklist-grid,
.mini-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hero-highlights {
  margin-top: 28px;
}

.hero-highlight {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  backdrop-filter: blur(8px);
}

.hero-highlight h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-highlight p {
  font-size: 0.92rem;
  opacity: 0.92;
  line-height: 1.6;
}

.visual-panel,
.journey-card,
.checklist-card,
.comparison-card,
.mini-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-panel {
  padding: 24px;
  min-width: 0;
}

.visual-panel-featured {
  grid-column: 1 / -1;
}


.visual-panel h3,
.journey-card h3,
.checklist-card h3,
.comparison-card h3,
.mini-card h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.visual-panel p,
.journey-card p,
.comparison-card p,
.mini-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  background: var(--violet-light);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.device-visual,
.map-visual,
.message-visual {
  background: linear-gradient(180deg, #fbf8ff 0%, #ffffff 100%);
  border: 1px solid var(--violet-mid);
  border-radius: 18px;
  padding: 18px;
  margin-top: 18px;
}

.device-visual-header,
.message-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
}

.device-chip-row,
.match-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.device-chip,
.match-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.device-chip {
  background: var(--bg-white);
  border: 1px solid var(--violet-mid);
  color: var(--text);
}

.device-chip.active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.match-feature-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.match-feature-column {
  display: grid;
  gap: 14px;
}

.match-item-card,
.match-review-card,
.create-form-card,
.message-thread-card,
.profile-summary-card,
.profile-thanks-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.match-item-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.match-item-thumb {
  border-radius: 14px;
  min-height: 74px;
}

.match-item-thumb.lost {
  background: linear-gradient(145deg, #d9d1f7 0%, #a38be7 100%);
}

.match-item-thumb.found {
  background: linear-gradient(145deg, #dff4e3 0%, #9dd4a9 100%);
}

.match-item-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.match-item-copy strong,
.match-review-row strong,
.message-thread-card strong,
.profile-app-user strong {
  display: block;
  font-size: 0.95rem;
}

.match-item-copy span,
.match-review-row p,
.message-thread-card span,
.profile-app-user span,
.profile-section-title,
.profile-thanks-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}

.match-item-top,
.match-review-header,
.profile-app-top,
.profile-thanks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.match-item-score,
.profile-thanks-header span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 800;
}

.match-item-score.exact {
  background: #e8f4ea;
  color: #16803c;
}

.match-item-score.nearby {
  background: #fff5e5;
  color: #9b5c00;
}

.match-review-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.match-review-header span:first-child {
  font-weight: 800;
  font-size: 1rem;
}

.match-review-count {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.match-review-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid #f1eef8;
}

.match-review-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 4px;
}

.match-review-dot.exact { background: #28a745; }
.match-review-dot.nearby { background: var(--amber); }

.match-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.create-app-visual {
  background: linear-gradient(180deg, #fbf8ff 0%, #ffffff 100%);
  border: 1px solid var(--violet-mid);
  border-radius: 18px;
  padding: 18px;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.create-toggle-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.create-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 14px;
  border: 1px solid var(--violet-mid);
  background: #fff;
  font-weight: 700;
}

.create-toggle.active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.create-form-card {
  padding: 14px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
}

.create-photo-placeholder {
  min-height: 92px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f3eefb 0%, #ddd0f7 100%);
  display: grid;
  place-items: center;
  color: var(--violet);
  font-weight: 700;
  text-align: center;
  gap: 4px;
}

.create-photo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(111, 66, 193, 0.14);
  font-size: 1.1rem;
}

.create-form-lines {
  display: grid;
  align-content: center;
  gap: 10px;
}

.create-form-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #ece8f7;
}

.create-form-lines span:nth-child(1) { width: 92%; }
.create-form-lines span:nth-child(2) { width: 74%; }
.create-form-lines span:nth-child(3) { width: 58%; }

.create-mode-row,
.create-place-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.create-place-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff8e7;
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #9b5c00;
  font-size: 0.82rem;
  font-weight: 700;
}

.message-bubble-stack {
  display: grid;
  gap: 10px;
}

.message-bubble {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.message-bubble.incoming {
  background: #f4f4f8;
  color: var(--text);
}

.message-bubble.outgoing {
  margin-left: auto;
  background: var(--violet);
  color: #fff;
}

.map-visual {
  position: relative;
  min-height: 240px;
}

.map-grid {
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(rgba(111,66,193,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,66,193,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  border-radius: 14px;
}

.map-cluster,
.map-pin,
.map-count-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.map-cluster {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--violet);
  border: 3px solid #fff;
  color: var(--amber);
  box-shadow: 0 8px 24px rgba(111,66,193,0.22);
}

.map-pin {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--amber);
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(245,166,35,0.28);
}

.map-count-chip {
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26,26,46,0.86);
  color: #fff;
  font-size: 0.8rem;
}

.city-map-visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--violet-mid);
  margin-top: 18px;
  background:
    linear-gradient(90deg, rgba(111,66,193,0.08) 1px, transparent 1px),
    linear-gradient(rgba(111,66,193,0.08) 1px, transparent 1px),
    linear-gradient(145deg, #fbf8ff 0%, #ffffff 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.city-map-water {
  position: absolute;
  inset: -18px auto 120px -60px;
  width: 220px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 179, 237, 0.28) 0%, rgba(99, 179, 237, 0.1) 55%, transparent 70%);
  transform: rotate(-24deg);
}

.city-map-label,
.city-map-chip,
.city-map-pin,
.city-map-radius,
.map-count-chip {
  position: absolute;
}

.city-map-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(26, 26, 46, 0.65);
}

.city-map-label.downtown { top: 24px; left: 118px; }
.city-map-label.mount-pleasant { top: 118px; left: 34px; }
.city-map-label.olympic { top: 180px; left: 128px; }
.city-map-label.main-st { top: 96px; left: 182px; transform: rotate(-26deg); }
.city-map-label.broadway { top: 138px; left: 142px; transform: rotate(-4deg); }

.city-map-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(111, 66, 193, 0.14);
  box-shadow: 0 10px 24px rgba(111, 66, 193, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
}

.chip-school { top: 32px; right: 106px; }
.chip-work { top: 168px; right: 34px; }
.chip-library { bottom: 26px; left: 34px; }

.city-map-pin {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.85);
}

.city-map-pin.exact { background: #f04f4f; }
.city-map-pin.nearby { background: var(--amber); }

.city-map-radius {
  top: 106px;
  left: 118px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(111, 66, 193, 0.1);
  border: 2px solid rgba(111, 66, 193, 0.22);
}

.message-thread-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.message-thread-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.16);
}

.profile-app-visual {
  background: linear-gradient(180deg, #fbf8ff 0%, #ffffff 100%);
  border: 1px solid var(--violet-mid);
  border-radius: 18px;
  padding: 18px;
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.profile-app-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(145deg, #e2d8fb 0%, #b89df2 100%);
}

.profile-qr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
}

.profile-section-title {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-stat-card {
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.75);
}

.profile-stat-card strong {
  font-size: 0.82rem;
}

.profile-stat-card span {
  font-size: 1.4rem;
  font-weight: 800;
}

.profile-stat-card.lost {
  background: #fff5f5;
  color: #b83333;
}

.profile-stat-card.found {
  background: #f0fff4;
  color: #1b7d45;
}

.profile-stat-card.recovered {
  background: #f3eefb;
  color: var(--violet);
}

.profile-stat-card.claimed {
  background: #fffbeb;
  color: #9b5c00;
}

.profile-summary-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.profile-summary-card div {
  display: grid;
  gap: 6px;
}

.profile-summary-card span {
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-summary-card strong {
  font-size: 1.05rem;
}

.profile-thanks-card {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.profile-thanks-header span {
  background: var(--violet);
  color: #fff;
}

.journey-card {
  padding: 24px;
  text-align: left;
}

.journey-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.journey-step-number {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  flex-shrink: 0;
  background: var(--amber);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.journey-step strong {
  display: block;
  margin-bottom: 3px;
}

.journey-step > div {
  min-width: 0;
}

.journey-step span {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.callout-row > div,
.visual-panel > p,
.comparison-card > p,
.mini-card > p,
.help-card p,
.help-article,
.help-content {
  min-width: 0;
}

.checklist-card {
  padding: 22px;
}

.checklist-card ul {
  margin: 0;
  padding-left: 18px;
}

.checklist-card li {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.comparison-card {
  padding: 24px;
}

.comparison-card .panel-label {
  margin-bottom: 10px;
}

.comparison-card ul {
  margin: 12px 0 0 20px;
}

.comparison-card li {
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.mini-card {
  padding: 20px;
}

.mini-card .card-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.callout-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}


.callout-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
}

.callout-badge {
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--violet-light);
  color: var(--violet);
  font-weight: 800;
}

.article-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #f7f2ff 100%);
  border: 1px solid var(--violet-mid);
  border-radius: 22px;
  padding: 28px;
  margin: 0 0 28px;
  box-shadow: var(--shadow);
}

.article-hero-card h2 {
  margin-top: 0;
}

.article-hero-card p:last-child {
  margin-bottom: 0;
}

.support-shell {
  padding-top: 64px;
  padding-bottom: 72px;
}
.support-hero {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
}
.support-hero .section-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
.support-button-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.support-launch-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.support-card,
.support-trust {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.support-card h2,
.support-trust h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.support-card p,
.support-trust p {
  color: var(--text-secondary);
  line-height: 1.75;
}
.support-trust {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.support-inline-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.support-inline-links a {
  font-weight: 700;
}
.stripe-support-link.is-disabled {
  opacity: 0.7;
  pointer-events: none;
  cursor: not-allowed;
}

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-content h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal-content .legal-date { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal-content h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 36px 0 14px; }
.legal-content p { margin-bottom: 16px; color: var(--text-secondary); line-height: 1.75; }
.legal-content ul, .legal-content ol { margin: 0 0 20px 24px; color: var(--text-secondary); line-height: 1.75; }
.legal-content li { margin-bottom: 6px; }

@media (max-width: 768px) {
  .help-layout { grid-template-columns: 1fr; padding: 24px 20px 56px; gap: 24px; }
  .help-sidebar {
    position: static;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .help-sidebar-title { width: 100%; padding-left: 0; }
  .help-sidebar a { font-size: 0.8rem; padding: 8px 12px; margin-bottom: 0; white-space: nowrap; border: 1px solid var(--border); background: var(--bg-white); }
  .section { padding: 48px 20px; }
  .visual-panel, .journey-card, .comparison-card, .help-card, .mini-card, .checklist-card, .cta-banner { padding-left: 20px; padding-right: 20px; }
  .support-banner,
  .support-card,
  .support-trust { padding: 22px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-bar { padding: 32px 20px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .stat-item h3 { font-size: 1.8rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-highlight-grid,
  .journey-grid,
  .quick-start-grid,
  .comparison-grid,
  .visual-card-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .match-feature-visual,
  .profile-summary-card,
  .create-form-card {
    grid-template-columns: 1fr;
  }
  .profile-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .support-banner,
  .support-trust {
    grid-template-columns: 1fr;
  }
  .support-banner-actions,
  .support-inline-links {
    width: 100%;
  }
  .support-button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .support-button-row .btn,
  .support-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0.7; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 1; animation: fadeUp 0.6s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .fade-up-d1, .fade-up-d2, .fade-up-d3, .fade-up-d4 { animation: none; }
}
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }
