@import url("https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400;500;600;700&display=swap");

:root {
  /* Sourced from medallioncommunities.com */
  --bg: #f8f8f8;
  --surface: #ffffff;
  --ink: #1f3a60;          /* Medallion navy — body text, headings */
  --ink-soft: #2a4a73;
  --muted: #6385a6;        /* Medallion muted blue — secondary text */
  --accent: #1f3a60;       /* Primary buttons = navy */
  --accent-hover: #16294a;
  --accent-ink: #ffffff;
  --highlight: #35aae1;    /* Sky blue — links, focus, price */
  --border: #e6ecf2;
  --border-strong: #cfd9e3;
  --danger: #b94a48;
  --soft-tint: #f1f5f9;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(31,58,96,0.06), 0 6px 18px rgba(31,58,96,0.06);
}

* { box-sizing: border-box; }

/* HTML `hidden` attribute must always win over later display: declarations. */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: "Wix Madefor Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

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

h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

/* ---- Header ---- */
header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 0 rgba(31,58,96,0.02);
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
header.site .brand:hover { text-decoration: none; }

header.site .brand img {
  height: 38px;
  width: auto;
  display: block;
}

header.site .brand .wordmark {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding-left: 14px;
  border-left: 1px solid var(--border-strong);
  letter-spacing: 0.01em;
}

header.site nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

header.site nav a,
header.site nav button {
  margin-left: 4px;
  padding: 8px 14px;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

header.site nav a:hover,
header.site nav button:hover {
  color: var(--ink);
  background: var(--soft-tint);
  text-decoration: none;
}

header.site nav .nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  margin-left: 10px;
  padding: 8px 16px;
  font-weight: 600;
}
header.site nav .nav-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}

.biz-callout {
  margin-top: 28px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--highlight);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
  text-align: left;
}
.biz-callout .biz-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--soft-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.biz-callout .biz-text {
  flex: 1;
  min-width: 200px;
}
.biz-callout strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 4px;
}
.biz-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.biz-callout .btn {
  margin-top: 0;
  flex-shrink: 0;
}

/* ---- Layout ---- */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

h2 { margin-top: 0; margin-bottom: 6px; }
h3 { margin-bottom: 12px; }

/* ---- Forms ---- */
label {
  display: block;
  margin: 16px 0 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.01em;
}

input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--highlight);
  box-shadow: 0 0 0 3px rgba(53,170,225,0.18);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 18px;
  letter-spacing: 0.01em;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; color: var(--accent-ink); }

.btn.secondary {
  background: transparent;
  color: var(--accent);
}
.btn.secondary:hover {
  background: var(--soft-tint);
  color: var(--accent);
}

.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---- Messages ---- */
.msg {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 6px;
  font-size: 14px;
}
.msg.err { background: #fdecec; color: var(--danger); border: 1px solid #f3c5c5; }
.msg.ok  { background: #e8f4fb; color: var(--ink);   border: 1px solid #bde0f3; }

.muted { color: var(--muted); }

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
}
.hero h2 { font-size: 38px; margin-bottom: 12px; letter-spacing: -0.02em; }
.hero p  { color: var(--muted); font-size: 19px; margin-bottom: 32px; }
.hero .btn { margin: 0 6px; }

/* ---- Admin / generic rows ---- */
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.row:last-child { border-bottom: none; }
.row .meta { flex: 1; }
.row .meta strong { display: block; font-weight: 600; }
.row .meta span   { color: var(--muted); font-size: 14px; }
.row .actions button { margin-left: 8px; }

.pill {
  display: inline-block;
  padding: 2px 9px;
  font-size: 11px;
  border-radius: 999px;
  background: var(--soft-tint);
  color: var(--muted);
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ---- Tabs ---- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.tabs button {
  background: none; border: none;
  padding: 11px 18px;
  font: inherit;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.active {
  color: var(--ink);
  border-bottom-color: var(--highlight);
  font-weight: 600;
}

.tab-badge {
  background: var(--highlight);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 1px;
}

.toolbar {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px;
}

/* ---- Listing grid ---- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.listing-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s, box-shadow 0.12s, border-color 0.12s;
}
.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  text-decoration: none;
}

.thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--soft-tint);
}
.thumb-empty {
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  color: var(--muted);
}

.listing-body { padding: 14px 16px 16px; }
.listing-title { font-weight: 600; color: var(--ink); }
.listing-title .price { color: var(--highlight); margin-left: 6px; }
.listing-meta  { color: var(--muted); font-size: 13px; margin-top: 4px; }

.empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 20px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.empty a { color: var(--highlight); }

.detail-photo {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--soft-tint);
  margin-bottom: 18px;
}

.detail-price {
  color: var(--highlight);
  font-size: 26px;
  font-weight: 700;
  margin-top: 4px;
}

/* ---- Row listing (My listings) ---- */
.row-listing {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.row-listing:last-child { border-bottom: none; }
.row-listing .thumb-sm {
  width: 64px; height: 64px;
  background-size: cover; background-position: center;
  background-color: var(--soft-tint);
  border-radius: 6px; flex-shrink: 0;
}
.row-listing .meta { flex: 1; }
.row-listing .meta strong { display: block; }
.row-listing .meta span { color: var(--muted); font-size: 13px; }
.row-listing.inactive { opacity: 0.55; }

/* ---- Inbox + Conversation ---- */
.inbox-thread {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
  padding-left: 8px; padding-right: 8px;
  margin: 0 -8px;
  border-radius: 4px;
}
.inbox-thread:hover { background: var(--soft-tint); text-decoration: none; }
.inbox-thread .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}
.inbox-thread .body { flex: 1; min-width: 0; }
.inbox-thread .top  { display: flex; justify-content: space-between; gap: 12px; }
.inbox-thread .name { font-weight: 600; }
.inbox-thread .time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.inbox-thread .preview {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-thread .listing-ref {
  font-size: 12px;
  color: var(--highlight);
  margin-top: 2px;
}
.inbox-thread.unread .name { color: var(--accent); }
.inbox-thread.unread .preview { color: var(--ink); font-weight: 500; }
.inbox-thread .badge {
  background: var(--highlight);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

#inbox-link.has-unread { color: var(--accent); font-weight: 600; }

.conv-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.conv-header .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.conv-header .who strong { display: block; }
.conv-header .who .listing-ref { color: var(--highlight); font-size: 13px; }
.conv-header .back {
  margin-left: auto;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.conv-header .back:hover { color: var(--ink); }

.conv-thread {
  display: flex; flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px 4px 12px;
}

.bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.45;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.bubble .ts { display: block; font-size: 11px; opacity: 0.7; margin-top: 4px; }
.bubble.mine {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
  border-bottom-right-radius: 4px;
}
.bubble.theirs {
  align-self: flex-start;
  background: var(--soft-tint);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.conv-compose {
  display: flex; gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.conv-compose textarea {
  flex: 1;
  min-height: 44px;
  max-height: 160px;
  resize: vertical;
}
.conv-compose button { margin-top: 0; }

/* ---- Search / filter bar ---- */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.filter-bar input[type="search"] {
  flex: 1 1 240px;
  min-width: 200px;
}
.filter-bar select {
  flex: 0 0 auto;
  width: auto;
  min-width: 160px;
}
.filter-bar .price-range {
  display: flex; align-items: center; gap: 6px;
}
.filter-bar .price-range input {
  width: 100px;
}

/* ---- Skeletons ---- */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #eef2f6 0%, #e2e8ef 50%, #eef2f6 100%);
  background-size: 800px 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: 4px;
}
.listing-grid.loading .listing-card {
  pointer-events: none;
}
.listing-card-skel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.listing-card-skel .sk-thumb {
  aspect-ratio: 4/3;
}
.listing-card-skel .sk-body {
  padding: 14px 16px 16px;
}
.listing-card-skel .sk-line {
  height: 12px; margin-top: 8px;
}
.listing-card-skel .sk-line.w-70 { width: 70%; }
.listing-card-skel .sk-line.w-40 { width: 40%; }

/* ---- Empty states (improved) ---- */
.empty {
  text-align: center;
  color: var(--muted);
  padding: 56px 24px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}
.empty .empty-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--soft-tint);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.empty h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 18px;
}
.empty p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.empty .btn { margin-top: 0; }

/* ---- Photo lightbox ---- */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.88);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  padding: 24px;
  cursor: zoom-out;
}
#lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
#lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
#lightbox-close:hover { background: rgba(255,255,255,0.24); }

.detail-photo { cursor: zoom-in; }

/* ---- Photo gallery ---- */
.gallery-strip {
  display: flex; gap: 8px;
  margin-top: -8px; margin-bottom: 16px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 70px; height: 70px;
  background-size: cover; background-position: center;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
}
.gallery-thumb.active {
  border-color: var(--highlight);
}

/* ---- Lightbox prev/next ---- */
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.24); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 13px;
  background: rgba(0,0,0,0.4); padding: 4px 10px; border-radius: 999px;
}

/* ---- Photo upload preview ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.photo-tile {
  position: relative;
  aspect-ratio: 1/1;
  background-size: cover; background-position: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.photo-tile .remove {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(15,23,42,0.7);
  color: #fff; border: none; cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.photo-tile .remove:hover { background: var(--danger); }
.photo-tile .order-badge {
  position: absolute; bottom: 4px; left: 4px;
  background: rgba(15,23,42,0.7); color: #fff;
  font-size: 11px; padding: 1px 6px; border-radius: 999px;
}
.photo-tile.primary {
  border-color: var(--highlight);
  box-shadow: 0 0 0 2px rgba(53,170,225,0.25);
}

/* ---- Landing page ---- */
.lp-hero {
  text-align: center;
  padding: 90px 24px 70px;
  background: linear-gradient(to bottom, #ffffff, var(--bg));
  border-bottom: 1px solid var(--border);
}
.lp-hero h2 {
  font-size: 44px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 720px; margin-left: auto; margin-right: auto;
  line-height: 1.15;
}
.lp-hero .sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 580px;
  margin: 0 auto 32px;
}
.lp-hero .cta-row { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lp-hero .verified-note {
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px;
}
.lp-hero .verified-note span.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: var(--accent); color: #fff;
  border-radius: 50%; font-size: 11px; font-weight: 700;
}

.lp-section {
  padding: 70px 24px;
}
.lp-section h3.section-title {
  font-size: 28px;
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: -0.01em;
}
.lp-section .section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 40px;
  max-width: 540px;
  font-size: 16px;
}

.lp-steps {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.lp-step {
  text-align: center;
}
.lp-step .step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 19px;
  margin-bottom: 14px;
}
.lp-step h4 { margin: 0 0 6px; font-size: 18px; }
.lp-step p { margin: 0; color: var(--muted); font-size: 15px; }

.lp-features {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.lp-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.lp-feature .feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--soft-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.lp-feature h4 { margin: 0 0 8px; font-size: 18px; }
.lp-feature p  { margin: 0; color: var(--muted); font-size: 15px; }

.lp-business {
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
}
.lp-business h3 { color: var(--accent-ink); }
.lp-business .section-sub { color: rgba(255,255,255,0.78); }
.lp-business .btn {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.lp-business .btn:hover {
  background: var(--soft-tint);
  color: var(--accent);
  border-color: var(--soft-tint);
}

.lp-footer {
  padding: 28px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.lp-footer a { color: var(--highlight); }

/* ---- Mobile nav (hamburger) ---- */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  width: 40px; height: 40px;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
  align-items: center; justify-content: center;
}

/* ---- Mobile breakpoints ---- */
@media (max-width: 760px) {
  header.site { padding: 12px 16px; position: relative; }
  header.site .brand img { height: 28px; }
  header.site .brand .wordmark { font-size: 14px; padding-left: 10px; }

  .nav-toggle { display: inline-flex; }
  header.site nav {
    display: none;
    position: absolute;
    top: 100%; right: 12px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 180px;
    z-index: 100;
    margin-top: 6px;
  }
  header.site nav.open { display: flex; }
  header.site nav a,
  header.site nav button {
    margin: 0;
    padding: 10px 14px;
    text-align: left;
    border-radius: 6px;
  }
  header.site nav .nav-cta { margin-left: 0; margin-top: 4px; text-align: center; }

  main { padding: 24px 16px; }
  .card { padding: 20px; }

  .hero { padding: 50px 16px 32px; }
  .hero h2 { font-size: 28px; }
  .hero p { font-size: 16px; }

  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .toolbar > * { width: 100%; }
  .toolbar .btn { text-align: center; }

  .listing-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .row, .row-listing { flex-wrap: wrap; }
  .row .actions, .row-listing .actions {
    width: 100%;
    margin-top: 8px;
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .row .actions button, .row-listing .actions a, .row-listing .actions button {
    margin-left: 0; margin-top: 0; flex: 1 1 auto;
  }

  /* Landing page mobile */
  .lp-hero { padding: 60px 18px 50px; }
  .lp-hero h2 { font-size: 30px; }
  .lp-hero .sub { font-size: 16px; }
  .lp-section { padding: 50px 18px; }
  .lp-section h3.section-title { font-size: 22px; }
  .lp-steps, .lp-features { grid-template-columns: 1fr; gap: 24px; }

  /* Conversation */
  .conv-thread { max-height: 50vh; }
  .bubble { max-width: 90%; }

  /* Filter bar */
  .filter-bar input[type="search"],
  .filter-bar select { flex: 1 1 100%; min-width: 0; }
}

@media (max-width: 420px) {
  .listing-grid { grid-template-columns: 1fr; }
  header.site .brand .wordmark { display: none; }
}
