/* Dubai Renting Guide — own stylesheet, system fonts only */
:root{--c1:#a34d28;--c2:#e8dcc8;--bg:#fbf6ee;--ink:#262019}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui, -apple-system, 'Segoe UI', sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;font-size:1.02rem}
h1,h2,h3{font-family:'Trebuchet MS', Verdana, sans-serif;color:var(--c1);line-height:1.25}
h1{font-size:1.9rem;margin:.4rem 0 .8rem}h2{font-size:1.4rem;margin-top:2rem}h3{font-size:1.15rem}
/* Checklist first: the tenant should be able to scan the page and know what is done and what is still open. */
a{color:var(--c1)}a:hover{color:var(--c2)}
header.site{background:#fff;border-bottom:3px solid var(--c1)}
.bar{max-width:1120px;margin:0 auto;padding:.7rem 1rem;display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--c1);font-family:'Trebuchet MS', Verdana, sans-serif;font-weight:700;font-size:1.25rem}
.brand svg{width:42px;height:42px;flex:none}
nav.main{margin-left:auto;display:flex;gap:.2rem;flex-wrap:wrap}
/* Terracotta is the working colour here, used for headings and the drawn boxes beside each checklist item. */
nav.main a{text-decoration:none;padding:.35rem .6rem;border-radius:6px;font-size:.95rem}
nav.main a:hover{background:var(--bg)}
.wrap{max-width:1120px;margin:0 auto;padding:1.2rem 1rem 3rem}
.hero{padding:1.2rem 0 .4rem}
.kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;color:var(--c2);font-weight:700}
.verified{font-size:.88rem;color:#5a655e;border:1px solid #c9d2c6;background:#fff;border-radius:6px;padding:.35rem .6rem;display:inline-block;margin:.4rem 0}
/* The side panel on wide screens holds the quick links so the tenant never has to scroll back to the top. */
table{border-collapse:collapse;width:100%;margin:1rem 0;background:#fff}
th,td{border:1px solid #d3d8d2;padding:.55rem .7rem;text-align:left;vertical-align:top}
th{background:var(--c1);color:#fff}
.tool{background:#fff;border:2px solid var(--c1);border-radius:12px;padding:1.2rem;margin:1.2rem 0}
.tool label{display:block;font-weight:600;margin:.7rem 0 .2rem}
.tool input,.tool select{width:100%;max-width:420px;padding:.55rem;border:1px solid #9aa39b;border-radius:6px;font-size:1rem}
/* Contract clauses sit in bordered cards because a contract is a box of terms, and the page should feel like one. */
.tool button{background:var(--c1);color:#fff;border:0;padding:.65rem 1.3rem;border-radius:8px;font-size:1rem;cursor:pointer;margin-top:1rem}
.tool button:hover{background:var(--c2)}
.result{background:var(--bg);border:1px solid var(--c1);border-radius:8px;padding:1rem;margin-top:1rem}
.result b{font-size:1.25rem}
.error{color:#8f1d1d;font-weight:600}
.example{background:#fff8e6;border:1px solid #e3c878;border-radius:8px;padding:.9rem 1rem;margin:1rem 0}
/* Warm cream backgrounds keep the tone domestic rather than corporate, which suits a guide written for tenants. */
.note{background:#eef3ee;border-left:4px solid var(--c1);padding:.8rem 1rem;margin:1rem 0}
.warn{background:#fdf0e6;border-left:4px solid #b3541e;padding:.8rem 1rem;margin:1rem 0}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:1.2rem 0}
.card{background:#fff;border:1px solid #d3d8d2;border-radius:10px;padding:1rem}
.card h3{margin-top:0}
.card a{font-weight:700}
/* Footer links are white on terracotta, and the contact line is the last thing on the page. */
.toc{background:#fff;border:1px solid #d3d8d2;border-radius:8px;padding:.8rem 1.1rem;margin:1rem 0}
.toc a{display:block;padding:.15rem 0}
footer.site{background:var(--c1);color:#fff;margin-top:2rem}
footer.site .wrap{padding:1.6rem 1rem}
footer.site a{color:#fff}
footer.site p,footer.site li{font-size:.92rem}
/* Checklist first: the tenant should be able to scan the page and know what is done and what is still open. */
.faq-item{border-bottom:1px solid #d3d8d2;padding:.7rem 0}
.faq-item h3{margin:.2rem 0}
.srcline{font-size:.88rem;color:#5a655e}
img,svg{max-width:100%}
@media(max-width:600px){h1{font-size:1.55rem}nav.main{margin-left:0}}
@media print{header.site nav,footer.site{display:none}body{background:#fff}}
/* Terracotta is the working colour here, used for headings and the drawn boxes beside each checklist item. */

  .lede{font-size:1.15rem;line-height:1.55;background:#f3e9d8;border-radius:10px;padding:1rem 1.2rem}
  .checklist li{list-style:none;padding:.35rem 0 .35rem 1.8rem;position:relative}
  .checklist li:before{content:"";position:absolute;left:0;top:.55rem;width:1rem;height:1rem;border:2px solid var(--c1);border-radius:3px}
  .checklist li.done:before{background:var(--c1)}
  .contract{border:2px solid var(--c1);border-radius:12px;padding:1.2rem;background:#fff}
/* The side panel on wide screens holds the quick links so the tenant never has to scroll back to the top. */
  @media(min-width:900px){.wrap{display:grid;grid-template-columns:220px 1fr;gap:2rem}.sidenav{display:block}}
  .sidenav{display:none;background:#f3e9d8;border-radius:10px;padding:1rem;height:max-content;position:sticky;top:1rem}
  .sidenav a{display:block;padding:.3rem 0}
  
