:root {
  --bg: #fff7ed;
  --bg-soft: #f8fafc;
  --card: #ffffff;
  --ink: #18212f;
  --ink-soft: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #ea580c;
  --primary-600: #c2410c;
  --primary-50: #ffedd5;
  --green: #13735f;
  --green-50: #e6f5ef;
  --danger: #dc2626;
  --danger-50: #fee2e2;
  --info: #2563eb;
  --info-50: #dbeafe;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 16px 40px rgba(15, 23, 42, .11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg-soft);
  color: var(--ink);
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 900; letter-spacing: 0; }
h1 { max-width: 760px; font-size: clamp(2.35rem, 5.4vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.25rem; line-height: 1.25; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }

:focus-visible {
  outline: 3px solid rgba(234, 88, 12, .55);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 860px; }
.icon { width: 1.12rem; height: 1.12rem; flex: 0 0 auto; }

.urgency-bar {
  background: var(--primary);
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
}
.urgency-inner {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}
.urgency-bar a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 14px rgba(15, 23, 42, .04);
  backdrop-filter: blur(14px);
}
.nav-inner {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; min-width: 0; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(234, 88, 12, .18);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { display: block; font-size: 1.13rem; line-height: 1; font-weight: 900; }
.brand-sub { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 900;
}
.nav-links a:not(.btn):hover { background: var(--primary-50); color: var(--primary-600); }
.menu-toggle { display: none; }

.btn, .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 900;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover, .button:hover { transform: translateY(-1px); }
.btn-primary, .button-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 22px rgba(234, 88, 12, .16); }
.btn-primary:hover, .button-primary:hover { background: var(--primary-600); }
.btn-outline, .button-outline, .button-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover, .button-outline:hover, .button-ghost:hover { border-color: var(--primary); color: var(--primary); }
.full-button { width: 100%; margin-top: 18px; }

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  padding: 6px 12px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.hero {
  border-bottom: 1px solid #fed7aa;
  background:
    radial-gradient(740px 340px at 82% -8%, #fed7aa 0%, rgba(254, 215, 170, 0) 65%),
    linear-gradient(180deg, var(--bg), #fff);
  padding: clamp(2.8rem, 6vw, 4.4rem) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .55fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero h1 { margin-top: 14px; }
.hero h1 span { color: var(--primary); }
.hero-sub { max-width: 650px; margin-top: 18px; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.24rem); }
.hero-cta, .form-actions, .poster-actions, .cart-actions, .contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-summary div {
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 16px;
  text-align: center;
}
.hero-summary strong { display: block; color: var(--primary); font-size: 2rem; font-weight: 900; line-height: 1; }
.hero-summary span { display: block; margin-top: 6px; color: var(--muted); font-size: .75rem; font-weight: 900; text-transform: uppercase; }

.quick-actions {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 28px 0;
}
.quick-actions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quick-card {
  display: grid;
  min-height: 168px;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.quick-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
}
.quick-icon.danger { background: var(--danger-50); color: var(--danger); }
.quick-icon.success { background: var(--green-50); color: var(--green); }
.quick-icon.info { background: var(--info-50); color: var(--info); }
.quick-card strong { font-size: 1.12rem; }
.quick-card p { color: var(--muted); font-size: .92rem; }

.section {
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.6rem) 0;
}
.create-section, .guide-section, .faq-section { background: #fff; }
.alerts-section, .support-section { background: var(--bg-soft); }
.sightings-section { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head.compact { margin-bottom: 22px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section-head h2 { margin-top: 10px; }
.section-head p, .lead { color: var(--ink-soft); font-size: 1.02rem; }
.lead { margin-top: 8px; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(1.15rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-sm);
}
.create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .65fr);
  gap: 22px;
  align-items: start;
}
.form-heading { margin-bottom: 16px; }
.form-heading h3 { font-size: 1.55rem; }
.form-heading p { color: var(--muted); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .03em;
}
.field input, .field select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
  font-size: .96rem;
}
textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, textarea:focus { border-color: var(--primary); outline: 0; box-shadow: 0 0 0 3px var(--primary-50); }
.full { grid-column: 1 / -1; }
.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 4px;
  margin-bottom: 16px;
}
.segmented-control button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 900;
}
.segmented-control button[aria-pressed="true"] { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.photo-preview { overflow: hidden; border-radius: 12px; border: 1px solid var(--line); }
.photo-preview img { width: 100%; max-height: 280px; object-fit: cover; }
.anchor-alias {
  position: relative;
  top: -92px;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.poster-panel {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}
.poster-state {
  margin-bottom: 12px;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  background: #f0fdf4;
  color: #166534;
  padding: 10px 12px;
  font-weight: 900;
}
.poster-preview {
  display: grid;
  gap: 12px;
  min-height: 430px;
  justify-items: center;
  align-content: start;
  border: 4px solid var(--ink);
  border-radius: 14px;
  background-color: #fff;
  background-image: radial-gradient(#ffedd5 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  padding: 28px 22px;
  text-align: center;
}
.poster-preview > strong {
  width: calc(100% + 44px);
  margin-top: -28px;
  margin-bottom: 8px;
  background: var(--danger);
  color: #fff;
  padding: 13px;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: .14em;
}
.poster-photo {
  display: grid;
  width: min(100%, 260px);
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
}
.poster-photo img { width: 100%; height: 100%; object-fit: cover; }
.poster-preview h4 { font-size: clamp(1.9rem, 5vw, 2.8rem); text-transform: uppercase; }
.poster-preview p { color: var(--ink-soft); font-size: 1.08rem; font-weight: 900; }
.poster-preview span { border-radius: 12px; background: var(--bg-soft); padding: 12px 14px; color: var(--ink); font-weight: 900; }

.network-status {
  margin-top: 16px;
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  color: var(--ink-soft);
  font-weight: 900;
}

.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); gap: 10px; }
.mini-stats div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  text-align: center;
}
.mini-stats strong { display: block; color: var(--primary); font-size: 1.55rem; line-height: 1; }
.mini-stats span { display: block; color: var(--muted); font-size: .68rem; line-height: 1.15; font-weight: 900; text-transform: uppercase; overflow-wrap: anywhere; }
.tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 6px;
  border-radius: 999px;
  background: #fff;
  padding: 6px;
  margin-bottom: 16px;
}
.tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  padding: 8px 14px;
  font-weight: 900;
}
.tabs button.active, .tabs button.is-active { background: var(--ink); color: #fff; }
.filters, .store-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(180px, .8fr) minmax(110px, .35fr) minmax(150px, .45fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  margin-bottom: 16px;
}
.store-tools { grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(135px, .45fr)); }
.alert-results-bar, .store-results-bar, .alert-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.case-result-count, .store-results-bar span { color: var(--ink-soft); font-weight: 900; }
.alert-pagination { justify-content: center; margin-top: 20px; }
.alert-grid, .case-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.case-card, .alert-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.case-card:hover, .alert-card:hover, .case-card.is-active { border-color: #fdba74; box-shadow: var(--shadow); transform: translateY(-2px); }
.case-card {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 13px;
  padding: 14px;
}
.case-card img, .case-photo-fallback {
  width: 78px;
  height: 78px;
  border-radius: 14px;
}
.case-card img { object-fit: cover; }
.case-photo-fallback { display: grid; place-items: center; background: var(--primary-50); color: var(--primary); font-size: 1.6rem; font-weight: 900; }
.case-card strong { display: block; font-size: 1.04rem; line-height: 1.2; }
.case-card small { display: block; color: var(--ink-soft); font-weight: 900; }
.case-card p { display: -webkit-box; margin-top: 5px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--muted); font-size: .88rem; }
.case-type {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 6px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  padding: 4px 9px;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}
.case-card[data-type="found"] .case-type { background: var(--green); }
.case-card[data-type="sighting"] .case-type { background: var(--info); }
.case-card-actions { grid-column: 1 / -1; display: flex; }
.case-card-actions .btn, .case-card-actions .button { width: 100%; min-height: 42px; }
.empty-results, .store-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  color: var(--muted);
}

.sightings-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr); gap: 22px; align-items: start; }
.sighting-feed-panel h3 { margin-top: 10px; font-size: 1.12rem; }
.sighting-feed { display: grid; gap: 10px; margin-top: 14px; }
.compact-feed { max-height: 390px; overflow: auto; padding-right: 4px; }
.feed-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 12px;
}
.feed-item strong, .feed-item span, .feed-item small { display: block; }
.feed-item span { color: var(--ink-soft); margin-top: 3px; }
.feed-item small { color: var(--muted); margin-top: 6px; }
.muted { color: var(--muted); }

.guide-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-steps li {
  position: relative;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  background: #fff;
  padding: 24px 16px 18px;
  box-shadow: var(--shadow-sm);
}
.guide-steps span {
  position: absolute;
  left: 14px;
  top: -12px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}
.guide-steps strong { display: block; margin-bottom: 6px; }
.guide-steps p { color: var(--muted); font-size: .9rem; }
.center-action { margin-top: 24px; text-align: center; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.support-card { min-height: 100%; }
.support-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  margin-bottom: 12px;
}
.support-card p { color: var(--muted); margin-top: 8px; }
.support-card .form-grid { grid-template-columns: 1fr; margin-top: 14px; }
.store-strip {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 18px;
}
.cart-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}
.compact-cart { margin-top: 14px; }
.cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-count { display: inline-flex; min-width: 30px; min-height: 30px; align-items: center; justify-content: center; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 900; }
.empty-cart { margin-top: 10px; color: var(--muted); }
.cart-list { display: grid; gap: 12px; margin: 14px 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cart-item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.cart-item span { display: block; color: var(--muted); }
.quantity-controls { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.quantity-controls button, .icon-button { border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 30px; min-height: 30px; }
.cart-summary { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.cart-summary p { display: flex; justify-content: space-between; gap: 12px; }
.cart-summary .total { color: var(--primary); font-size: 1.05rem; font-weight: 900; }

.category-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 38px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 6px 13px; font-weight: 900; }
.chip.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.filter-label { color: var(--muted); font-size: .86rem; font-weight: 900; align-self: center; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-img { display: grid; aspect-ratio: 1 / 1; place-items: center; background: var(--bg-soft); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { display: grid; gap: 8px; padding: 16px; }
.product-body .cat { color: var(--primary); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-body h3 { font-size: 1rem; }
.price { color: var(--green); font-size: 1.1rem; font-weight: 900; }
.add { width: 100%; margin-top: 8px; }

.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}
.faq-list p { margin-top: 12px; color: var(--ink-soft); }

footer { background: #0f172a; color: #cbd5e1; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
footer h2 { margin-bottom: 12px; color: #fff; font-size: .92rem; font-weight: 900; letter-spacing: .04em; }
footer p, footer a, .footer-bottom { color: #94a3b8; font-size: .92rem; }
footer a { display: block; margin-bottom: 8px; }
footer a:hover { color: #fff; }
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 36px; padding-top: 20px; }

.mobile-action-bar { display: none; }

@media print {
  body * { visibility: hidden; }
  .poster-preview, .poster-preview * { visibility: visible; }
  .poster-preview {
    position: fixed;
    inset: 1rem;
    width: auto;
    min-height: auto;
    box-shadow: none;
  }
}

@media (max-width: 1100px) {
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 8px 12px;
    color: var(--ink);
    font-weight: 900;
  }
  .nav-links {
    position: absolute;
    inset: calc(100% + 1px) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn), .nav-links .btn { width: 100%; justify-content: center; }
  .hero-grid, .create-layout, .sightings-layout { grid-template-columns: 1fr; }
  .poster-panel { position: static; }
  .section-head.row { align-items: start; flex-direction: column; }
  .filters, .store-tools { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 70px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .urgency-inner { flex-direction: column; gap: 0; padding: 6px 0; }
  .nav-inner { min-height: 64px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { display: none; }
  .hero { padding: 2.5rem 0; }
  .hero-summary, .quick-actions-grid, .mini-stats, .form-grid, .filters, .store-tools, .support-grid, .guide-steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .form-actions .btn, .poster-actions .btn, .cart-actions .btn { width: 100%; }
  .quick-card { min-height: 0; }
  .tabs { width: 100%; border-radius: 16px; }
  .tabs button { flex: 1 1 42%; }
  .case-card { grid-template-columns: 62px minmax(0, 1fr); padding: 12px; }
  .case-card img, .case-photo-fallback { width: 62px; height: 62px; }
  .poster-preview { min-height: 360px; padding: 24px 16px; }
  .poster-preview > strong { width: calc(100% + 32px); margin-top: -24px; }
  .poster-photo { width: min(100%, 210px); }
  .mobile-action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -12px 30px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
  }
  .mobile-action-bar a {
    display: grid;
    min-height: 64px;
    place-items: center;
    gap: 2px;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 900;
  }
  .mobile-action-bar svg { width: 19px; height: 19px; }
}


/* v2.8 refinements: client flow, about/supporters, store lane and share actions */
.top-app-note {
  display: inline-flex;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,.45);
  opacity: .92;
}
.top-app-note a { color: #fff; }
.eyebrow.small { font-size: .66rem; padding: 4px 10px; }
.about-section { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.about-main p,
.author-card p,
.supporter-card p { color: var(--muted); margin-top: 8px; }
.value-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.value-chips span {
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: var(--bg);
  color: var(--primary-600);
  padding: 6px 11px;
  font-size: .82rem;
  font-weight: 900;
}
.author-card { grid-column: 1 / -1; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: start; }
.author-card img { width: 132px; height: 132px; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }
.author-card p { max-width: 78ch; line-height: 1.75; }
.text-link { display: inline-flex; margin-top: 10px; color: var(--primary); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.supporters-head { margin-top: 32px; }
.supporters-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.supporter-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; }
.supporter-card img,
.supporter-avatar { width: 72px; height: 72px; border-radius: 18px; border: 1px solid var(--line); object-fit: cover; }
.supporter-avatar { display: grid; place-items: center; background: var(--primary-50); color: var(--primary); font-size: 1.8rem; font-weight: 900; }
.supporter-card strong { display: block; font-size: 1.08rem; }
.supporter-card small { display: block; margin-top: 2px; color: var(--ink-soft); font-weight: 900; }
.supporter-card.is-empty { grid-column: 1 / -1; }
.community-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.store-section { background: var(--bg-soft); }
.store-head { align-items: start; }
.store-cart { width: min(420px, 100%); box-shadow: var(--shadow); }
.store-cart[hidden] { display: none; }
.store-strip { margin-top: 0; }
.share-flow {
  margin-top: 14px;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  background: #f0fdf4;
  color: #14532d;
  padding: 14px;
}
.share-flow strong { display: block; color: #14532d; font-weight: 900; }
.share-flow p { color: #166534; margin-top: 4px; font-size: .92rem; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.share-actions .btn { min-height: 40px; padding: 9px 12px; font-size: .9rem; }
.alert-results-bar { align-items: center; }
.mini-stats { min-width: 260px; }
.mini-stats div { min-width: 0; overflow: hidden; }
.case-type { max-width: 100%; white-space: normal; text-align: center; line-height: 1.1; }

@media (max-width: 1100px) {
  .about-grid, .supporters-grid { grid-template-columns: 1fr 1fr; }
  .author-card { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .store-head { flex-direction: column; }
  .store-cart { width: 100%; }
  .community-forms { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top-app-note { display: none; }
  .about-grid, .supporters-grid, .community-forms { grid-template-columns: 1fr; }
  .author-card, .supporter-card { grid-template-columns: 1fr; }
  .author-card img, .supporter-card img, .supporter-avatar { width: 84px; height: 84px; }
  .share-actions .btn { width: 100%; }
  .mini-stats { width: 100%; min-width: 0; }
}

/* v3.0 refinements: cleaner top, origin image hero, on-demand forms and store emphasis */
.nav-links .nav-store {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(234, 88, 12, .18);
}
.nav-links .nav-store:hover {
  background: var(--primary-600) !important;
  color: #fff !important;
}
.nav-cta { display: none; }
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background-image:
    linear-gradient(90deg, rgba(15, 23, 42, .76), rgba(15, 23, 42, .48) 48%, rgba(255, 247, 237, .72)),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  padding: clamp(3.4rem, 7vw, 5.6rem) 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0), var(--bg-soft));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  background: rgba(255, 255, 255, .92);
  color: var(--primary-600);
}
.hero h1,
.hero h1 span,
.hero .hero-sub { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.hero .btn-outline {
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.14);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hero .btn-outline:hover { background: #fff; color: var(--primary-600); }
.hero-summary {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(255,255,255,.72);
}
.quick-actions { border-top: 0; }
.section { scroll-margin-top: 86px; }
.anchor-target {
  position: relative;
  top: -92px;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-disclosure,
.community-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.form-disclosure strong,
.community-callout h3 { display: block; color: var(--ink); font-weight: 900; }
.form-disclosure p,
.community-callout p { color: var(--muted); margin-top: 4px; }
.disclosure-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
[hidden] { display: none !important; }
.sightings-section .section-head { margin-bottom: 16px; }
.sightings-layout { margin-top: 0; }
.adoption-section {
  background: linear-gradient(180deg, #fff, #fff7ed);
}
.adoption-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.adoption-copy > p {
  color: var(--muted);
  margin: 12px 0 18px;
  max-width: 66ch;
}
.adoption-pricing {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  gap: 14px;
  margin-top: 18px;
}
.adoption-pricing.discreet {
  opacity: .92;
}
.adoption-plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.adoption-pricing.discreet .adoption-plan {
  padding: 14px 16px;
  box-shadow: none;
}
.adoption-plan.is-featured {
  border-color: #fed7aa;
  box-shadow: none;
}
.plan-badge {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 5px 10px;
  font-size: .76rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.adoption-pricing.discreet .plan-badge {
  background: #fff7ed;
  color: var(--primary-600);
}
.plan-price {
  display: block;
  color: var(--primary-600);
  font-size: 1.55rem;
  margin: 8px 0;
}
.adoption-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.adoption-plan p,
.adoption-plan li,
.form-note {
  color: var(--muted);
}
.adoption-plan ul {
  margin: 12px 0 0;
  padding-left: 18px;
}
.adoption-public-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.adoption-public-summary span,
.adoption-public-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-sm);
}
.adoption-public-summary span {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
}
.adoption-public-summary strong {
  color: var(--primary-600);
  font-size: 1.7rem;
  line-height: 1;
}
.adoption-public-panel {
  margin-top: 16px;
  padding: 18px;
}
.adoption-public-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.adoption-public-head h3 { margin: 0; }
.adoption-public-list {
  display: grid;
  gap: 12px;
}
.adoption-pet-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
}
.adoption-pet-photo {
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 16px;
  background: var(--bg-soft);
  color: var(--muted);
  font-weight: 900;
  overflow: hidden;
}
.adoption-pet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.adoption-pet-status {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  padding: 4px 9px;
  font-size: .76rem;
  font-weight: 900;
}
.adoption-pet-card h3 { margin: 8px 0 4px; }
.adoption-pet-card p { margin: 5px 0; color: var(--muted); }
.adoption-pet-meta { font-weight: 900; }
.adoption-pet-card small { color: var(--primary-600); font-weight: 900; }
.adoption-interest-button {
  margin-top: 12px;
}
.adoption-form,
.adoption-interest-form {
  position: sticky;
  top: 92px;
  max-width: 760px;
}
.form-note {
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: #fff7ed;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: .92rem;
  font-weight: 800;
}
.adoption-photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.adoption-photo-preview img {
  width: 82px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
}
.community-callout { margin-top: 28px; }
.store-head .eyebrow {
  background: var(--primary);
  color: #fff;
}
.store-section {
  background:
    radial-gradient(660px 260px at 78% 0%, rgba(254, 215, 170, .65), rgba(254, 215, 170, 0) 72%),
    var(--bg-soft);
}
.store-section .section-head h2 { color: var(--ink); }
.store-section .section-head p { font-weight: 800; }
.mobile-action-bar { grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); }
.mobile-store-action {
  background: var(--primary);
  color: #fff !important;
}
@media (max-width: 1180px) {
  .nav-links { gap: 0; }
  .nav-links a:not(.btn) { padding: 8px 9px; font-size: .86rem; }
}
@media (max-width: 900px) {
  .nav-cta { display: inline-flex; }
  .nav-links .nav-store { border-radius: 12px; }
  .hero { background-position: 42% center; }
  .quick-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .author-card { grid-template-columns: 104px minmax(0, 1fr); }
  .author-card img { width: 104px; height: 104px; }
  .adoption-layout,
  .adoption-pricing,
  .adoption-public-summary { grid-template-columns: 1fr; }
  .adoption-form { position: static; }
  .form-disclosure,
  .community-callout { align-items: stretch; flex-direction: column; }
  .disclosure-actions { justify-content: stretch; }
  .disclosure-actions .btn { flex: 1 1 220px; }
}
@media (max-width: 640px) {
  .hero { padding: 2.8rem 0 3.4rem; }
  .hero-grid { gap: 1.2rem; }
  .hero-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-summary div { padding: 12px; }
  .quick-actions-grid { grid-template-columns: 1fr; }
  .author-card { grid-template-columns: 1fr; }
  .form-disclosure .btn,
  .community-callout .btn { width: 100%; }
  .adoption-pet-card { grid-template-columns: 1fr; }
  .adoption-pet-photo { width: 100%; max-width: 180px; }
  .mobile-action-bar a { min-height: 64px; }
}
