/* ============================================
   RenterDesk — Global Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #1D9E75;
  --teal-mid: #0F6E56;
  --teal-dark: #085041;
  --teal-pale: #E1F5EE;
  --teal-light: #5DCAA5;
  --mint: #F1FAF6;
  --coral: #D85A30;
  --coral-light: #FAECE7;
  --warm-white: #FAFAF8;
  --ink: #1A1F1C;
  --ink-soft: #3D4440;
  --gray-mid: #8A9490;
  --gray-light: #D6DDD9;
  --gray-pale: #EEF1EF;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 14px;
  --max-width: 1140px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--warm-white); color: var(--ink); line-height: 1.7; overflow-x: hidden; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  background: rgba(250,250,248,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark { width: 32px; height: 32px; background: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-logo-mark svg { width: 18px; height: 18px; fill: white; }
.nav-wordmark { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); text-decoration: none; }
.btn-nav { background: var(--teal) !important; color: white !important; padding: 8px 20px; border-radius: 99px; font-weight: 500 !important; transition: background 0.2s; }
.btn-nav:hover { background: var(--teal-mid) !important; }

/* BUTTONS */
.btn-primary { background: var(--teal); color: white; padding: 14px 28px; border-radius: 99px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--teal-mid); transform: translateY(-1px); text-decoration: none; }
.btn-ghost { color: var(--ink-soft); padding: 14px 24px; border-radius: 99px; font-size: 15px; font-weight: 400; text-decoration: none; border: 1px solid var(--gray-light); transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }
.btn-amazon { display: inline-flex; align-items: center; gap: 6px; background: var(--teal); color: white; font-size: 14px; font-weight: 500; padding: 10px 22px; border-radius: 99px; text-decoration: none; white-space: nowrap; transition: background 0.2s; }
.btn-amazon:hover { background: var(--teal-mid); text-decoration: none; }
.btn-amazon svg { width: 14px; height: 14px; fill: white; }

/* TAGS */
.tag { font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; }
.tag-green { background: var(--teal-pale); color: var(--teal-mid); }
.tag-coral { background: var(--coral-light); color: var(--coral); }
.tag-gray { background: var(--gray-pale); color: var(--gray-mid); }
.tag-amber { background: #FAEEDA; color: #854F0B; }

/* CALLOUTS */
.callout { border-left: 3px solid var(--teal); background: var(--teal-pale); border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 28px 0; }
.callout-label { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-mid); margin-bottom: 6px; }
.callout p { font-size: 15px; color: var(--teal-dark); margin: 0; line-height: 1.65; }
.warn { border-left-color: #EF9F27; background: #FAEEDA; }
.warn .callout-label { color: #854F0B; }
.warn p { color: #633806; }

/* ARTICLE LAYOUT */
.article-hero { background: var(--mint); padding: 72px 48px 56px; border-bottom: 1px solid var(--gray-light); }
.article-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; background: var(--teal-pale); color: var(--teal-mid); padding: 5px 14px; border-radius: 99px; margin-bottom: 24px; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.article-h1 { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 54px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.12; color: var(--ink); margin-bottom: 22px; }
.article-h1 em { font-style: italic; color: var(--teal); }
.article-desc { font-size: 17px; font-weight: 300; color: var(--ink-soft); line-height: 1.7; max-width: 600px; margin: 0 auto 24px; }
.article-meta { font-size: 13px; color: var(--gray-mid); }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; max-width: var(--max-width); margin: 0 auto; padding: 64px 48px; }
.article-body { min-width: 0; }
.article-body h2 { font-family: var(--font-display); font-size: clamp(22px,2.8vw,34px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); margin: 56px 0 18px; padding-top: 8px; border-top: 1px solid var(--gray-light); }
.article-body h2:first-child { border-top: none; margin-top: 0; }
.article-body h2 em { font-style: italic; color: var(--teal); }
.article-body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 400; letter-spacing: -0.015em; color: var(--ink); margin: 28px 0 10px; }
.article-body p { font-size: 16px; font-weight: 300; color: var(--ink-soft); line-height: 1.78; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 20px; }
.article-body li { font-size: 16px; font-weight: 300; color: var(--ink-soft); line-height: 1.7; margin-bottom: 7px; }
.article-body strong { font-weight: 500; color: var(--ink); }
.article-body hr { border: none; border-top: 1px solid var(--gray-light); margin: 48px 0; }

/* QUICK BOX */
.quick-box { background: var(--ink); border-radius: var(--radius); padding: 30px 36px; margin-bottom: 40px; }
.quick-label { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 10px; }
.quick-box p { font-size: 16px; color: rgba(255,255,255,0.82); margin: 0; line-height: 1.68; }

/* TOC */
.toc { background: var(--gray-pale); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.toc-title { font-size: 12px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 14px; }
.toc ol { margin: 0 0 0 18px; }
.toc li { margin-bottom: 7px; }
.toc a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--teal); }

/* PRODUCT CARDS */
.product { background: white; border: 1px solid var(--gray-light); border-radius: var(--radius); overflow: hidden; margin: 32px 0; transition: box-shadow 0.2s; }
.product:hover { box-shadow: 0 8px 36px rgba(0,0,0,0.08); }
.product-header { display: flex; align-items: flex-start; gap: 20px; padding: 28px 28px 20px; }
.product-rank-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.product-rank-num { width: 40px; height: 40px; background: var(--ink); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.product-rank-label { font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-mid); }
.product-img-wrap { width: 120px; height: 120px; border-radius: 10px; overflow: hidden; background: var(--gray-pale); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-img-placeholder { font-size: 40px; }
.product-info { flex: 1; }
.product-tag-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.product-name { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.2; }
.product-sub { font-size: 14px; font-weight: 300; color: var(--ink-soft); line-height: 1.6; margin-bottom: 14px; }
.product-meta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.stars { color: #F5A623; font-size: 14px; letter-spacing: 1px; }
.stars-count { font-size: 13px; color: var(--gray-mid); margin-left: 4px; }
.price-tag { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--teal-dark); }
.product-body { padding: 0 28px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pro-con { background: var(--gray-pale); border-radius: 10px; padding: 16px 18px; }
.pro-con-title { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.pro-con-title-green { color: var(--teal-mid); }
.pro-con-title-red { color: var(--coral); }
.pro-con ul { margin: 0; padding: 0; list-style: none; }
.pro-con li { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 6px; padding-left: 16px; position: relative; }
.pro-con li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; }
.pro-con-green li::before { background: var(--teal); }
.pro-con-red li::before { background: var(--coral); }
.product-footer { padding: 18px 28px 24px; border-top: 1px solid var(--gray-pale); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product-verdict { font-size: 14px; font-weight: 300; color: var(--ink-soft); flex: 1; line-height: 1.55; font-style: italic; }

/* COMPARISON TABLE */
.table-wrap { overflow-x: auto; margin: 28px 0; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comp-table th { background: var(--ink); color: white; padding: 12px 16px; text-align: left; font-weight: 500; font-size: 13px; }
.comp-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-light); color: var(--ink-soft); vertical-align: top; }
.comp-table tr:nth-child(even) td { background: var(--gray-pale); }
.comp-table .best { color: var(--teal); font-weight: 500; }

/* SIDEBAR */
.sidebar { position: sticky; top: 80px; height: fit-content; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: white; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 22px; }
.side-card-title { font-family: var(--font-display); font-size: 15px; font-weight: 400; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { padding: 8px 0; border-bottom: 1px solid var(--gray-pale); font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.side-card li:last-child { border-bottom: none; padding-bottom: 0; }
.side-card li a { color: var(--teal-mid); font-size: 13px; }
.side-cta { background: var(--teal); border-radius: var(--radius); padding: 22px; text-align: center; }
.side-cta-title { font-family: var(--font-display); font-size: 16px; font-weight: 300; color: white; line-height: 1.4; margin-bottom: 10px; }
.side-cta-sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 16px; line-height: 1.5; }
.side-cta-btn { display: block; background: white; color: var(--teal-mid); font-size: 13px; font-weight: 500; padding: 10px; border-radius: 99px; text-decoration: none; }
.side-cta-btn:hover { background: var(--teal-pale); text-decoration: none; }
.rating-mini { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gray-pale); }
.rating-mini:last-child { border-bottom: none; padding-bottom: 0; }
.rating-mini-name { font-size: 13px; color: var(--ink); font-weight: 400; flex: 1; }
.rating-mini-stars { font-size: 12px; color: #F5A623; }
.rating-mini-score { font-size: 13px; font-weight: 500; color: var(--ink); margin-left: 4px; }

/* RELATED SECTION */
.related { background: var(--gray-pale); padding: 64px 48px; border-top: 1px solid var(--gray-light); }
.related-inner { max-width: 1040px; margin: 0 auto; }
.related h2 { font-family: var(--font-display); font-size: 28px; font-weight: 300; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-card { background: white; border: 1px solid var(--gray-light); border-radius: 12px; padding: 20px; text-decoration: none; display: block; transition: transform 0.2s, box-shadow 0.2s; }
.rel-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.07); text-decoration: none; }
.rel-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-mid); background: var(--teal-pale); padding: 3px 10px; border-radius: 99px; display: inline-block; margin-bottom: 10px; }
.rel-title { font-family: var(--font-display); font-size: 15px; font-weight: 400; color: var(--ink); line-height: 1.35; letter-spacing: -0.01em; }

/* NEWSLETTER SECTION */
.newsletter { background: var(--mint); padding: 96px 48px; text-align: center; }
.newsletter .section-eyebrow { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.newsletter-h2 { font-family: var(--font-display); font-size: clamp(28px,3vw,42px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); max-width: 540px; margin: 0 auto 16px; }
.newsletter-h2 em { font-style: italic; color: var(--teal); }
.newsletter-sub { font-size: 16px; font-weight: 300; color: var(--ink-soft); line-height: 1.7; max-width: 480px; margin: 0 auto 36px; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-input { flex: 1; padding: 14px 20px; border-radius: 99px; border: 1px solid var(--gray-light); font-family: var(--font-body); font-size: 15px; background: white; outline: none; color: var(--ink); transition: border-color 0.2s; }
.newsletter-input:focus { border-color: var(--teal); }
.newsletter-input::placeholder { color: var(--gray-mid); }
.newsletter-note { font-size: 13px; color: var(--gray-mid); margin-top: 14px; }

/* FOOTER */
footer { background: var(--ink); color: rgba(255,255,255,0.55); padding: 64px 48px 40px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: white; letter-spacing: -0.02em; margin-bottom: 8px; }
.footer-desc { font-size: 13px; line-height: 1.6; max-width: 220px; }
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.28); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .article-hero { padding: 48px 20px 36px; }
  .article-layout { grid-template-columns: 1fr; padding: 36px 20px; gap: 0; }
  .sidebar { position: static; margin-top: 48px; }
  .product-header { flex-wrap: wrap; }
  .product-body { grid-template-columns: 1fr; }
  .related { padding: 48px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 60px 20px; }
  .newsletter-form { flex-direction: column; }
  footer { padding: 48px 20px 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
