@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* =========================================================================
   PTI blog-guide dark skin
   Re-skins the self-contained city-guide template (rental-assistance-* and
   pti-landlord-rent-recovery-*) to match the main.css design-system blogs
   (dark theme). Loaded LAST in <head>; !important beats the per-page inline
   <style> blocks, including the landlord depth block in <body>.
   ========================================================================= */

/* --- token remap for the renter (token-based) template --- */
:root{
  --offwhite:#161B24;
  --border:#2A313C;
  --text:#E8EDF2;
  --muted:#9FB0C3;
  --teal-lt:rgba(38,140,166,.14);
  --green-lt:rgba(16,185,129,.12);
  --amber-lt:rgba(245,158,11,.12);
  --red-lt:rgba(239,68,68,.12);
  --gold-lt:rgba(201,168,76,.14);
}

/* --- page base --- */
body{background:#0D1117 !important;color:#E8EDF2 !important;
     font-family:'DM Sans',sans-serif !important}

/* content typography */
.container,.article-body,.article-body p,.article-body li,.article-body ul,.article-body ol,
main.container,article.body,article.body p,article.body li,article.body ul,article.body ol{
  color:#E8EDF2 !important}
h1,h2,h3,h4,.hero h1,
.article-body h2,.article-body h3,article.body h2,article.body h3,
.start h3,.pti-first h2,.cta h2{color:#fff !important;font-family:'Syne',sans-serif !important}
a{color:#4FB3CC !important}
/* buttons on a teal/solid background keep white label text */
.pti-btn,.nav-cta,.btn,.ptis-btn,.action-num{color:#fff !important}
strong,b{color:#fff !important}
.hero-sub,.hero-meta,.meta,.muted,.contact,.res-contact{color:#9FB0C3 !important}

/* --- renter: jump nav --- */
.jump-nav{background:#14141A !important;border-color:#2A313C !important}
.jump-btn{background:#1C2230 !important;color:#E8EDF2 !important;border-color:#2A313C !important}
.jump-btn:hover{background:rgba(38,140,166,.22) !important;border-color:#268CA6 !important;color:#9FE1CB !important}

/* --- renter: resource / doc / action / depth cards --- */
.res,.doc,.action-item,.depth-card{background:#161B24 !important;border-color:#2A313C !important;color:#E8EDF2 !important}
.res *,.doc *,.action-item *,.depth-card *{border-color:#2A313C}
.res-desc,.res-contact,.action-desc,.source-note,.doc{color:#C5CDD8 !important}
.res-name,.action-title,.res-head{color:#fff !important}
.res-head{background:transparent !important}

/* --- renter: related-posts cards --- */
.related-card{background:#161B24 !important;border-color:#2A313C !important}
.related-title{color:#fff !important}
.related-tag{color:#4FB3CC !important}

/* --- renter: callouts -> translucent tints on dark --- */
.callout{background:rgba(38,140,166,.12) !important;color:#E8EDF2 !important}
.callout-green{background:rgba(16,185,129,.12) !important}
.callout-amber{background:rgba(245,158,11,.12) !important}
.callout-red{background:rgba(239,68,68,.12) !important}
.callout strong{color:#9FE1CB !important}
.callout-green strong{color:#6EE7B7 !important}
.callout-amber strong{color:#FCD34D !important}
.callout-red strong{color:#FCA5A5 !important}

/* --- tags / pills (renter + landlord) --- */
.tag,.tag-rent,.tag-util,.tag-legal,.tag-house,.tag-closed{
  background:rgba(255,255,255,.08) !important;color:#CBD5E1 !important;
  border:1px solid rgba(255,255,255,.12) !important}

/* --- landlord (hardcoded) template surfaces --- */
.stack-card,.source,.related,.row{background:#161B24 !important;border-color:#2A313C !important;color:#E8EDF2 !important}
.row strong{background:#1C2230 !important;color:#fff !important}
.resource h3{color:#fff !important}
.row span,.source,.stack-card p{color:#C5CDD8 !important}
.resource h3 a{color:#4FB3CC !important}
.official{background:rgba(38,140,166,.10) !important;border-color:rgba(38,140,166,.3) !important;color:#E8EDF2 !important}
.depth{border-top-color:#2A313C !important}
.depth-card h3,.depth-card h4,.depth-card strong,.depth-value{color:#fff !important}
.depth-label{color:#4FB3CC !important}
.depth-note,.small,.contact,.stack-card p,.row span,.resource p{color:#C5CDD8 !important}
.depth-note a,.official a{color:#4FB3CC !important}

/* --- landlord: verification-log table --- */
table,.verify-table{border-color:#2A313C !important}
table th,.verify-table th{background:#1C2230 !important;color:#CBD5E1 !important;border-color:#2A313C !important}
table td,.verify-table td{background:transparent !important;color:#E8EDF2 !important;border-color:#2A313C !important}
table td a,.verify-table td a{color:#4FB3CC !important}

/* --- landlord: workflow step lists --- */
.workflow,.workflow li{color:#E8EDF2 !important}
.workflow li{background:#161B24 !important;border-left-color:#268CA6 !important}
.workflow strong{color:#fff !important}
.workflow a{color:#4FB3CC !important}

/* --- landlord: related-post cards (.related a) --- */
.related a{background:#161B24 !important;border-color:#2A313C !important;color:#E8EDF2 !important}
.related a strong,.related a h3{color:#fff !important}
.related h2{color:#fff !important}

/* --- keep the "What can PTI do in this situation?" block a LIGHT card
   (matches the reference blogs); restore its dark-on-light text that the
   broad dark rules above would otherwise lighten into invisibility --- */
.ptis h2.ptis-h,.ptis .ptis-q{color:#14141A !important}
.ptis .ptis-intro,.ptis .ptis-a,.ptis .ptis-sub,.ptis .ptis-foot{color:#374151 !important}
.ptis a{color:#268CA6 !important}
.ptis .ptis-btn{color:#fff !important}

/* --- signup box (renter, injected by tenant-signup.js) --- */
.waitlist-section{margin-top:40px;background:rgba(255,255,255,.03) !important;
  border:1px solid rgba(38,140,166,.18) !important;border-radius:16px;padding:28px 24px}
.waitlist-section .section-title{color:#fff !important;font-family:'Syne',sans-serif !important;font-weight:800}
.waitlist-section .section-body{color:#9FB0C3 !important}
.waitlist-form{margin-top:18px;display:flex;flex-direction:column;gap:12px}
.waitlist-form label{color:#C5CDD8 !important;font-family:'DM Sans',sans-serif !important;font-size:.9rem}
.waitlist-form input,.waitlist-form select{width:100%;padding:12px 14px;border-radius:10px;
  background:rgba(20,20,26,.7) !important;border:1px solid rgba(255,255,255,.12) !important;
  color:#fff !important;font-size:.95rem;font-family:'DM Sans',sans-serif}
.waitlist-form input::placeholder{color:rgba(159,176,195,.7) !important}
.btn-primary,.waitlist-form button{background:linear-gradient(135deg,#268CA6 0%,#599980 40%,#E6B34D 70%,#F29940 100%) !important;
  color:#101820 !important;padding:15px 18px;border-radius:8px;border:none;cursor:pointer;
  font-family:'Syne',sans-serif !important;font-weight:700;font-size:1rem;width:100%;
  justify-content:center;display:inline-flex;align-items:center;gap:8px}
.btn-primary:hover,.waitlist-form button:hover{filter:brightness(1.06);text-decoration:none}
.form-disclaimer{color:#8B9CB0 !important;font-size:.78rem;margin-top:10px;line-height:1.55}
.form-success{color:#E8EDF2 !important}
.form-success h3{color:#fff !important;font-family:'Syne',sans-serif !important}
.waitlist-form [data-form-status]{color:#B6E8D3 !important}
.waitlist-form button:disabled{opacity:.75;cursor:default}
