:root {
  --bg: #faf8f5; --ink: #1c1a17; --muted: #6b645c; --accent: #b3541e;
  --card: #ffffff; --line: #e6e0d8; --good: #2d7a4f; --warn: #b3541e;
}
* { box-sizing: border-box; margin: 0; }
body { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
main { max-width: 860px; margin: 0 auto; padding: 24px 16px 64px; }
a { color: var(--accent); }

.site-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--card); flex-wrap: wrap; gap: 8px; }
.logo { font-size: 1.25rem; font-weight: 800; text-decoration: none; color: var(--ink); letter-spacing: -0.5px; flex-shrink: 0; }
.logo span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 5px 10px; text-decoration: none; color: var(--muted); font-size: 0.875rem; border-radius: 6px; white-space: nowrap; }
.nav-link:hover { background: var(--bg); color: var(--ink); }

/* Brands dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn { display: flex; align-items: center; gap: 5px; padding: 5px 10px; background: none; border: 0.5px solid var(--line); border-radius: 6px; font-size: 0.875rem; color: var(--ink); cursor: pointer; white-space: nowrap; font-family: inherit; }
.nav-dropdown-btn:hover { background: var(--bg); }
.nav-caret { font-size: 0.6rem; color: var(--muted); transition: transform 0.15s; }
.nav-dropdown-btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: var(--card); border: 0.5px solid var(--line); border-radius: 10px; min-width: 160px; max-height: 380px; overflow-y: auto; z-index: 200; box-shadow: 0 4px 16px rgba(0,0,0,0.08); padding: 4px; }
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-item { display: block; padding: 7px 12px; font-size: 0.875rem; color: var(--ink); text-decoration: none; border-radius: 6px; white-space: nowrap; }
.nav-dropdown-item:hover { background: var(--bg); }
.footer-nav { display: flex; gap: 16px; margin: 10px 0; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.8rem; }
.footer-nav a:hover { color: var(--accent); }
.affiliate-disclaimer { font-size: 0.75rem; color: var(--muted); line-height: 1.6; margin: 8px 0; }
.copyright { font-size: 0.75rem; color: var(--muted); margin-top: 8px; }

.hero { text-align: center; padding: 48px 0 32px; }
.hero h1 { font-size: 2rem; letter-spacing: -0.5px; }
.hero p { color: var(--muted); max-width: 560px; margin: 12px auto 0; }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 24px; }
.brand-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.brand-card span { color: var(--muted); font-size: 0.85rem; }

.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.model-page h1 { font-size: 1.6rem; letter-spacing: -0.3px; margin-bottom: 16px; }

.value-hero { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; gap: 32px; flex-wrap: wrap; }
.value-hero.pending { color: var(--muted); }
.value-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.value-figure { font-size: 2.4rem; font-weight: 800; letter-spacing: -1px; }
.value-range { display: block; color: var(--muted); font-size: 0.9rem; }
.provenance { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--muted); font-style: italic; }
.value-parts { border-left: 1px solid var(--line); padding-left: 24px; align-self: center; font-size: 1.2rem; font-weight: 600; }

.conf { font-size: 0.75rem; padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
.conf-high { background: #e3f2e9; color: var(--good); }
.conf-medium { background: #fdf1e4; color: var(--warn); }
.conf-low, .conf-insufficient { background: #f0ede9; color: var(--muted); }

section { margin-top: 28px; }
section h2 { font-size: 1.1rem; margin-bottom: 8px; }
.specs ul { padding-left: 20px; }
.msrp-note { margin-top: 8px; color: var(--muted); }

.listings ul { list-style: none; padding: 0; }
.listings li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }

.alert-capture { background: var(--card); border: 1px dashed var(--line); border-radius: 10px; padding: 16px 20px; }

.brand-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.brand-table th, .brand-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.brand-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

.site-footer { max-width: 860px; margin: 0 auto; padding: 24px 16px 48px; color: var(--muted); font-size: 0.8rem; border-top: 1px solid var(--line); }

.quick-answer { background: #fdf6ee; border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 16px; }

/* Search */
.search-wrap { position: relative; max-width: 480px; margin: 20px auto 0; }
.search-input { width: 100%; padding: 11px 16px; border: 0.5px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font-size: 0.95rem; font-family: inherit; outline: none; }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(179,84,30,0.1); }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card); border: 0.5px solid var(--line); border-radius: 10px; overflow: hidden; z-index: 100; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.sr-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 0.5px solid var(--line); gap: 12px; }
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: var(--bg); }
.sr-name { font-size: 0.9rem; }
.sr-meta { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }

/* Movers */
.section-heading { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; font-weight: 400; }
.movers-section { margin-top: 32px; }
.movers-list { background: var(--card); border: 0.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.mover-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-bottom: 0.5px solid var(--line); text-decoration: none; color: var(--ink); }
.mover-row:last-child { border-bottom: none; }
.mover-row:hover { background: var(--bg); }
.mover-name { font-size: 0.9rem; }
.mover-right { display: flex; align-items: center; gap: 10px; }
.mover-price { font-size: 0.9rem; font-weight: 500; }
.mover-badge { font-size: 0.72rem; padding: 2px 7px; border-radius: 99px; }
.badge-up { background: #e3f2e9; color: #2d7a4f; }
.badge-down { background: #fdecea; color: #a32d2d; }

/* Brand section */
.brands-section { margin-top: 32px; }
.tbl-sub { font-size: 0.75rem; color: var(--muted); margin-top: 1px; }

/* Listings with images */
.listings ul { list-style: none; padding: 0; }
.listing-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 0.5px solid var(--line); text-decoration: none; color: var(--ink); }
.listing-item:last-child { border-bottom: none; }
.listing-item:hover .listing-title-text { text-decoration: underline; }
.listing-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; flex-shrink: 0; border: 0.5px solid var(--line); background: var(--bg); }
.listing-thumb-placeholder { width: 72px; height: 72px; border-radius: 6px; flex-shrink: 0; background: var(--bg); border: 0.5px solid var(--line); }
.listing-detail { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.listing-title-text { font-size: 0.875rem; color: var(--accent); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-price-tag { font-size: 0.95rem; color: var(--ink); }

/* Editorial pages */
.editorial { max-width: 680px; }
.editorial h1 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 8px; }
.editorial h2 { font-size: 1.1rem; font-weight: 500; margin: 24px 0 8px; }
.editorial p { font-size: 0.925rem; line-height: 1.7; color: var(--ink); margin-bottom: 12px; }
.editorial-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }
.editorial-note { font-size: 0.78rem; color: var(--muted); margin-top: 24px; border-top: 0.5px solid var(--line); padding-top: 12px; }

/* Footer */
.footer-nav { display: flex; gap: 16px; margin: 10px 0; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.8rem; }
.footer-nav a:hover { color: var(--accent); }
.affiliate-disclaimer { font-size: 0.75rem; color: var(--muted); line-height: 1.6; margin: 8px 0; }
.copyright { font-size: 0.75rem; color: var(--muted); margin-top: 8px; }

/* Guides index */
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.3px; }
.page-header p { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.guide-card { background: var(--card); border: 0.5px solid var(--line); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.guide-card:hover { border-color: var(--accent); }
.guide-card strong { font-size: 0.95rem; font-weight: 500; }
.guide-card span { font-size: 0.825rem; color: var(--muted); line-height: 1.5; }

/* Listings header + search CTAs */
.listings-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.listings-header h2 { margin-bottom: 0; }
.listings-search-link { font-size: 0.825rem; color: var(--accent); text-decoration: none; white-space: nowrap; }
.listings-search-link:hover { text-decoration: underline; }
.listings-see-all { display: block; text-align: center; margin-top: 12px; padding: 10px; background: var(--bg); border: 0.5px solid var(--line); border-radius: 8px; font-size: 0.875rem; color: var(--accent); text-decoration: none; }
.listings-see-all:hover { background: var(--line); }
.listings-no-data { padding: 20px; background: var(--bg); border-radius: 10px; text-align: center; }
.listings-no-data p { color: var(--muted); font-size: 0.875rem; margin-bottom: 12px; }
.listings-search-cta { display: inline-block; padding: 10px 20px; background: var(--accent); color: #fff; border-radius: 8px; text-decoration: none; font-size: 0.875rem; }
.listings-search-cta:hover { opacity: 0.9; }
.brand-search-cta { display: block; margin-top: 16px; text-align: center; padding: 11px; background: var(--bg); border: 0.5px solid var(--line); border-radius: 8px; font-size: 0.875rem; color: var(--accent); text-decoration: none; }
.brand-search-cta:hover { background: var(--line); }
