/* RentiHome Legal Center — shared styling for the policy pages.
   Matches the inline styles already used by terms-of-service.html,
   privacy-policy.html, refund-policy.html and cookie-policy.html, so the
   whole section reads as one system. New pages link this instead of
   duplicating the block; the four older pages still inline their own. */

*{box-sizing:border-box;margin:0;padding:0}
:root{--blue:#003580;--red:#FF385C;--green:#059669;
      --g100:#f4f4f5;--g200:#e4e4e7;--g400:#a1a1aa;--g500:#71717a;--g700:#3f3f46;--g900:#18181b}
body{font-family:'DM Sans',sans-serif;color:var(--g900);background:#fafafa;font-size:15px;line-height:1.7}

/* ── top bar ───────────────────────────────────────────────────────────── */
.topbar{background:var(--blue);padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{font-family:'Playfair Display',serif;font-size:1.3rem;color:#fff;text-decoration:none;white-space:nowrap}
.logo span{color:var(--red)}
.topbar-right{display:flex;align-items:center;gap:1rem}
.back{color:rgba(255,255,255,.75);font-size:.82rem;text-decoration:none;white-space:nowrap}
.back:hover{color:#fff}
.lang-toggle{display:flex;border:1px solid rgba(255,255,255,.35);border-radius:100px;overflow:hidden}
.lang-toggle button{background:transparent;border:none;color:rgba(255,255,255,.7);font-family:inherit;font-size:.74rem;font-weight:600;padding:.3rem .7rem;cursor:pointer;letter-spacing:.03em}
.lang-toggle button.on{background:#fff;color:var(--blue)}

/* ── language blocks ───────────────────────────────────────────────────── */
.lg-block{display:none}
.lg-block.on{display:block}

/* ── document body ─────────────────────────────────────────────────────── */
.wrap{max-width:780px;margin:0 auto;padding:3rem 2rem 5rem}
.doc-header{margin-bottom:2.5rem;padding-bottom:1.5rem;border-bottom:2px solid var(--g200)}
.doc-header h1{font-family:'Playfair Display',serif;font-size:2rem;color:var(--blue);margin-bottom:.5rem}
.doc-meta{font-size:.82rem;color:var(--g500)}
h2{font-family:'Playfair Display',serif;font-size:1.2rem;color:var(--blue);margin:2.2rem 0 .75rem;padding-bottom:.4rem;border-bottom:1px solid var(--g200)}
h3{font-size:.95rem;font-weight:700;color:var(--g700);margin:1.25rem 0 .4rem}
p{margin-bottom:.9rem;color:var(--g700)}
ul,ol{margin:.5rem 0 .9rem 1.5rem;color:var(--g700)}
li{margin-bottom:.35rem}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
strong{color:var(--g900)}

.highlight{background:#fff8e1;border-left:3px solid #f59e0b;padding:.85rem 1.1rem;border-radius:0 8px 8px 0;margin:1.25rem 0;font-size:.88rem}
.highlight strong{color:#92400e}
.note{background:#f0f7ff;border-left:3px solid var(--blue);padding:.85rem 1.1rem;border-radius:0 8px 8px 0;margin:1.25rem 0;font-size:.88rem}
.note strong{color:var(--blue)}

.toc{background:#fff;border:1px solid var(--g200);border-radius:10px;padding:1.25rem 1.5rem;margin-bottom:2.5rem}
.toc h4{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--g500);margin-bottom:.75rem}
.toc ol{margin-left:1.2rem}
.toc li{font-size:.85rem;margin-bottom:.3rem}

footer-legal{display:block;margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--g200);font-size:.78rem;color:var(--g500);text-align:center;line-height:1.6}

/* ── Legal Center index ────────────────────────────────────────────────── */
.lc-wrap{max-width:820px;margin:0 auto;padding:2.5rem 1.5rem 4rem}
.lc-card{background:#fff;border:1px solid var(--g200);border-radius:14px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.lc-head{background:#0b2545;color:#fff;padding:2.1rem 2rem 2.3rem}
.lc-head h1{font-family:'Playfair Display',serif;font-size:1.85rem;margin-bottom:.4rem;color:#fff}
.lc-head p{color:rgba(255,255,255,.78);font-size:.95rem;margin:0}
.lc-row{display:flex;align-items:center;gap:1.1rem;padding:1.15rem 2rem;border-bottom:1px solid var(--g100);text-decoration:none;color:inherit;transition:background .15s}
.lc-row:last-of-type{border-bottom:none}
.lc-row:hover{background:#f7f9fc;text-decoration:none}
.lc-ico{flex:0 0 26px;height:26px;color:var(--blue);display:flex;align-items:center;justify-content:center}
.lc-ico svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lc-txt{flex:1;min-width:0}
.lc-txt strong{display:block;font-size:.98rem;font-weight:600;color:var(--g900);margin-bottom:.1rem}
.lc-txt span{display:block;font-size:.85rem;color:var(--g500);line-height:1.45}
.lc-chev{flex:0 0 auto;color:var(--g400);font-size:1.1rem;line-height:1}
.lc-foot{padding:1rem 2rem;font-size:.8rem;color:var(--g500);background:#fcfcfd;border-top:1px solid var(--g100)}

@media(max-width:600px){
  .wrap{padding:2rem 1.25rem 4rem}
  .doc-header h1{font-size:1.5rem}
  .topbar{padding:.9rem 1rem}
  .lc-wrap{padding:1.5rem 1rem 3rem}
  .lc-head{padding:1.6rem 1.25rem 1.8rem}
  .lc-head h1{font-size:1.45rem}
  .lc-row{padding:1rem 1.25rem;gap:.85rem}
  .lc-foot{padding:.9rem 1.25rem}
}
