/* Rent & Share simplified production layer v7 */
:root {
  --rs-forest: #18382f;
  --rs-forest-deep: #102820;
  --rs-ink: #17201d;
  --rs-muted: #66706c;
  --rs-line: #dfe3df;
  --rs-paper: #f7f5ef;
  --rs-white: #fff;
  --rs-accent: #a67852;
}

html, body, input, button, select, textarea { font-family: "Manrope", Arial, sans-serif !important; }
body { color: var(--rs-ink); background: #fbfaf7; }
p, li, td, input, select, textarea, button { font-size: 13px; }

/* One quiet brand system */
.site-header { border-bottom-color: var(--rs-line); background: rgba(251,250,247,.97); }
.site-header__inner { min-height: 82px; }
.site-brand__mark { flex: 0 0 auto; }
.site-brand__type strong { letter-spacing: .075em; }
.site-brand__type small { font-size: 8px; letter-spacing: .15em; }
.site-nav a, .site-account a { font-size: 12px; }
.site-social-link, .site-facebook-proof { display: none !important; }
.site-register { border-radius: 999px; }
.site-search-strip { min-height: 74px; padding-block: 10px; }
.site-search--compact { width: min(720px, calc(100vw - 40px)); }
.site-search--compact input, .site-search--compact button { height: 48px; }
.site-search--compact button { min-width: 104px; }

.site-footer__name { display: inline-flex; align-items: center; gap: 11px; }
.site-footer__name .site-brand__mark { width: 32px; height: 32px; }
.site-footer__name b { color: inherit; font-size: 13px; letter-spacing: .1em; }
.site-footer__brand > span { margin-top: 12px; font-family: "Newsreader", Georgia, serif; font-size: 24px; }
.site-footer__brand p { display: none; }

/* Fewer words, more room */
.home-hero { min-height: 590px; }
.home-hero__copy h1 { max-width: 650px; font-size: clamp(64px, 7vw, 104px); line-height: .88; }
.home-hero__intro { max-width: 480px; font-size: 16px; }
.home-hero__actions { align-items: center; }
.hero-microcopy small { display: none; }
.home-section-heading--categories { margin-top: 70px; }
.home-categories { margin-bottom: 80px; }
.home-browse-heading { margin-top: 0; }
.home-how { margin-top: 90px; }
.home-how p { font-size: 12px; }

/* Full-width public pages; legacy utility sidebars stay in account areas */
body.simple-page .content,
html[data-page="search"] body .content,
html[data-page="categories"] body .content,
html[data-page="listings"] body .content,
html[data-page="wanted-items"] body .content,
html[data-page="wanted"] body .content,
html[data-page="contact-us"] body .content,
html[data-page="privacy-policy"] body .content,
html[data-page="terms-of-service"] body .content {
  width: min(1040px, calc(100% - 48px));
  display: block !important;
  grid-template-columns: none !important;
  padding: 64px 0 100px;
}
body.simple-page .ColumnLeft,
body.simple-page .ColumnRight,
html[data-page="search"] body .ColumnLeft,
html[data-page="search"] body .ColumnRight,
html[data-page="categories"] body .ColumnLeft,
html[data-page="categories"] body .ColumnRight,
html[data-page="listings"] body .ColumnLeft,
html[data-page="listings"] body .ColumnRight,
html[data-page="wanted-items"] body .ColumnLeft,
html[data-page="wanted-items"] body .ColumnRight,
html[data-page="wanted"] body .ColumnLeft,
html[data-page="wanted"] body .ColumnRight,
html[data-page="contact-us"] body .ColumnLeft,
html[data-page="contact-us"] body .ColumnRight,
html[data-page="privacy-policy"] body .ColumnLeft,
html[data-page="privacy-policy"] body .ColumnRight,
html[data-page="terms-of-service"] body .ColumnLeft,
html[data-page="terms-of-service"] body .ColumnRight { display: none !important; }
body.simple-page .ContentMain,
html[data-page="search"] body .ContentMain,
html[data-page="categories"] body .ContentMain,
html[data-page="listings"] body .ContentMain,
html[data-page="wanted-items"] body .ContentMain,
html[data-page="wanted"] body .ContentMain,
html[data-page="contact-us"] body .ContentMain,
html[data-page="privacy-policy"] body .ContentMain,
html[data-page="terms-of-service"] body .ContentMain { width: 100% !important; max-width: 880px; margin: 0 auto !important; }

body:not(.home-page) h1 { font-size: clamp(44px, 6vw, 72px); line-height: .95; }
.inner-page-intro { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.inner-page-intro h1 { font-size: clamp(52px, 7vw, 82px) !important; }
.inner-page-intro p:last-child { margin: 16px auto 0; font-size: 15px; }
.simple-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--rs-line); }
.simple-cta h2 { margin: 0; font-family: "Newsreader", Georgia, serif; font-size: 32px; font-weight: 550; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--rs-line); }
.faq-list details { border-bottom: 1px solid var(--rs-line); }
.faq-list summary { position: relative; padding: 24px 44px 24px 0; color: var(--rs-forest); font-size: 15px; font-weight: 720; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { max-width: 660px; margin: -6px 0 24px; color: var(--rs-muted); font-size: 13px; line-height: 1.75; }

/* Pricing */
body.pricing-page .content { width: min(900px, calc(100% - 48px)); display: block !important; grid-template-columns: none !important; }
.pricing-grid--simple { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; gap: 18px; }
.pricing-grid--simple .pricing-card { min-height: 480px; padding: 40px; border-radius: 14px; }
.pricing-grid--simple .pricing-card__price strong { font-size: 64px; }
.pricing-grid--simple .pricing-card__summary { min-height: auto; font-size: 14px; }
.pricing-grid--simple .pricing-card li { font-size: 13px; }
.pricing-card__annual { margin: auto 0 18px; color: rgba(255,255,255,.72); font-size: 12px; }
.pricing-footnote { margin-top: 24px; font-size: 11px; }

/* Auth and contact forms */
.auth-page .content, .contact-page .content { width: min(720px, calc(100% - 40px)); }
.auth-page .ContentMain, .contact-page .ContentMain { max-width: 620px; padding: 42px 52px !important; border: 1px solid var(--rs-line); border-radius: 14px; background: var(--rs-white); }
.auth-page .ContentMain > div, .contact-page .ContentMain > div { width: 100% !important; }
.auth-page h1, .contact-page h1 { text-align: left; }
.auth-page .home-eyebrow, .contact-page .home-eyebrow { margin-bottom: 10px; text-align: left; }
.auth-intro, .contact-intro { margin: 12px 0 28px; color: var(--rs-muted); font-size: 13px; line-height: 1.6; text-align: left; }
.auth-page form { text-align: left; }
.auth-page input[type="email"], .auth-page input[type="password"], .auth-page input[type="text"],
.register-page .RegisterText, .contact-page .RegisterText { width: 100% !important; max-width: none; min-height: 48px; box-sizing: border-box; padding: 11px 13px; font-size: 13px; }
.auth-submit, .register-page .RegisterSubmit, .contact-page .ListingSubmit { width: 100% !important; min-height: 48px; border-radius: 999px; font-size: 12px; }
.register-page .ContentMain { max-width: 680px; }
.register-page .ContentMain table, .contact-page .ContentMain table { width: 100% !important; }
.register-page h2 { font-family: "Newsreader", Georgia, serif !important; font-size: 30px; font-weight: 550; }
.register-page h2 small { color: var(--rs-muted); font-family: "Manrope", sans-serif; font-size: 11px; }
.contact-page textarea.RegisterText { min-height: 150px; }

/* Legacy results become roomy cards */
html[data-page="search"] .ContentMain > .main,
html[data-page="categories"] .ContentMain > .main,
html[data-page="wanted-items"] .ContentMain > .main { margin: 14px 0; padding: 20px; border: 1px solid var(--rs-line); border-radius: 12px; background: var(--rs-white); }
html[data-page="search"] .ContentMain > .main table,
html[data-page="categories"] .ContentMain > .main table,
html[data-page="wanted-items"] .ContentMain > .main table { width: 100%; }
.ListingPhoto { width: 144px; padding-right: 22px; }
.ListingPhoto img { width: 144px; height: 108px; border-radius: 8px; object-fit: cover; }
.ContentMain [style*="width: 420px"], .ContentMain [style*="width: 525px"] { width: auto !important; max-width: 100%; }
.PageSortButton { min-height: 34px; padding: 0 12px; font-size: 11px; }
.empty-state { padding: 70px 28px; border: 1px solid var(--rs-line); border-radius: 14px; text-align: center; background: var(--rs-white); }
.empty-state h2 { margin: 0; color: var(--rs-forest); font-family: "Newsreader", Georgia, serif; font-size: 38px; font-weight: 550; }
.empty-state p { margin: 10px 0 22px; color: var(--rs-muted); }
.empty-state a { display: inline-flex; padding: 13px 20px; border-radius: 999px; color: #fff; background: var(--rs-forest); text-decoration: none; }

/* Listing and wanted detail pages */
html[data-page="listings"] .ContentMain > div > table,
html[data-page="wanted"] .ContentMain > div > table { width: 100%; }
html[data-page="listings"] .ContentMain img,
html[data-page="wanted"] .ContentMain iframe { max-width: 100%; border-radius: 10px; }
html[data-page="listings"] .InactiveListing,
html[data-page="wanted"] .InactiveListing { width: auto; min-height: 44px; padding: 12px 18px; }

/* Legal copy stays intact, but reads like a document */
html[data-page="privacy-policy"] .ContentMain,
html[data-page="terms-of-service"] .ContentMain { max-width: 760px; }
html[data-page="privacy-policy"] .ContentMain table,
html[data-page="terms-of-service"] .ContentMain table { width: 100% !important; }
html[data-page="privacy-policy"] .ContentMain td,
html[data-page="terms-of-service"] .ContentMain td { font-size: 13px; line-height: 1.75; }

@media (max-width: 780px) {
  .site-header__inner { min-height: 70px; }
  .site-search-strip { display: none; }
  .home-hero { min-height: auto; }
  .home-hero__copy h1 { font-size: clamp(58px, 17vw, 82px); }
  .home-section-heading--categories { margin-top: 50px; }
  .pricing-grid--simple { grid-template-columns: 1fr; }
  .pricing-grid--simple .pricing-card { min-height: 0; }
  .auth-page .ContentMain, .contact-page .ContentMain { padding: 32px 24px !important; }
  .ListingPhoto { width: 100px; padding-right: 14px; }
  .ListingPhoto img { width: 100px; height: 84px; }
}

@media (max-width: 520px) {
  body.simple-page .content,
  html[data-page] body:not(.home-page) .content { width: min(100% - 24px, 1040px); padding-top: 42px; }
  .home-hero__actions { align-items: flex-start; flex-direction: column; }
  .simple-cta { align-items: flex-start; flex-direction: column; }
  .pricing-grid--simple .pricing-card { padding: 30px 24px; }
}
