:root {
  --ink: #1d2523;
  --muted: #55615e;
  --bg: #fbfaf7;
  --panel: #ffffff;
  --line: #dfe3df;
  --brand: #1f4d46;
  --brand-dark: #163a35;
  --accent: #c9762b;
  --tint: #eef4f1;
  --warn: #fff4e0;
  --radius: 10px;
  --wrap: 72rem;
  --text: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.25; margin: 2rem 0 .75rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin-top: 1.5rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
main > *:not(.full) { max-width: var(--text); }
main { padding-bottom: 3rem; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* header */
.site-head { background: var(--brand); color: #fff; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .8rem; padding-bottom: .8rem; }
.brand { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.brand:hover { color: #fff; }
.site-head nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.site-head nav li { margin: 0; }
.site-head nav a:not(.btn) { color: #e6f0ed; text-decoration: none; font-size: .95rem; }
.site-head nav a:not(.btn):hover { color: #fff; text-decoration: underline; }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 600;
  padding: .7rem 1.2rem; border-radius: 999px; border: 0; text-decoration: none;
  font-size: 1rem; cursor: pointer; line-height: 1.2;
}
.btn:hover { background: #ad6221; color: #fff; }
.btn-sm { padding: .45rem .9rem; font-size: .9rem; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--tint); color: var(--ink); }

/* hero */
.hero { max-width: var(--text); padding: 1rem 0 .5rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.honest {
  background: var(--tint); border-left: 4px solid var(--brand); padding: .9rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin: 1.25rem 0; }

/* content blocks */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); padding: 0; list-style: none; max-width: none !important; }
.cards li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 0; }
.cards h3 { margin-top: 0; font-size: 1.05rem; }
.cards p { margin: 0; color: var(--muted); font-size: .97rem; }
.note { background: var(--warn); padding: .8rem 1rem; border-radius: var(--radius); font-size: .97rem; }
.checked { font-size: .9rem; color: var(--muted); }
.source { font-size: .9rem; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin: 0 0 .75rem; background: var(--panel); font-size: .97rem; }
caption { text-align: left; font-size: .9rem; color: var(--muted); padding-bottom: .4rem; }
th, td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--tint); }

/* faqs */
.faqs details { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.faqs summary { font-weight: 600; cursor: pointer; }
.faqs details > div { padding-top: .5rem; }
.faqs details > div p:last-child { margin-bottom: 0; }

/* form */
.quote {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.25rem 1rem 1.5rem; margin: 2.5rem 0 1rem;
}
.quote h2 { margin-top: 0; }
.quote-honest { font-size: .97rem; color: var(--muted); }
.form-closed { background: var(--warn); padding: .7rem 1rem; border-radius: var(--radius); font-weight: 600; }
.field { margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: .3rem; }
.field-row { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
input[type=text], input[type=tel], input[type=email], input[type=number], select {
  width: 100%; font: inherit; padding: .6rem .7rem; border: 1px solid #b9c2be; border-radius: 8px; background: #fff; color: var(--ink);
}
input[type=file] { font-size: .95rem; max-width: 100%; }
input:focus, select:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid #8fb8ad; outline-offset: 2px; }
.choice { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; margin: .35rem 0; cursor: pointer; }
.choice input { margin-top: .35rem; flex: none; width: 1.1rem; height: 1.1rem; }
.consent .choice { font-size: .95rem; }
.req { font-weight: 400; font-size: .8rem; color: var(--muted); }
.hint { font-size: .9rem; color: var(--muted); margin: .3rem 0 0; }
.field-error { color: #a1301e; font-size: .9rem; margin: .3rem 0 0; }
.hp { position: absolute; left: -5000px; }
.tenant-stop { background: var(--tint); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.tenant-stop h3 { margin-top: 0; }
[hidden] { display: none !important; }

/* checklist (landlord checklist guide) */
.checklist { list-style: none; padding: 0; counter-reset: step; }
.checklist li { position: relative; padding: .7rem .9rem .7rem 3rem; margin: 0 0 .5rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.checklist li::before { content: counter(step); position: absolute; left: .8rem; top: .7rem; width: 1.5rem; height: 1.5rem; border: 2px solid var(--brand); border-radius: 4px; color: var(--brand); font-weight: 700; font-size: .85rem; line-height: 1.3rem; text-align: center; }

/* share box (tenants' guide) */
.share-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin: 1rem 0 1.5rem; }
.share-box > label { display: block; font-weight: 600; margin-bottom: .3rem; }
.share-row { display: flex; gap: .5rem; align-items: center; }
.share-row input { flex: 1; min-width: 0; width: auto; font: inherit; font-size: .95rem; padding: .5rem .6rem; border: 1px solid #b9c2be; border-radius: 8px; background: var(--bg); color: var(--ink); }
.share-status:empty { display: none; }
.share-box p:last-child { margin-bottom: 0; }

/* related */
.related { margin-top: 2rem; }
.related ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.related li { margin: 0; }
.related a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); text-decoration: none; font-size: .95rem; }

/* footer */
.site-foot { background: #18201e; color: #cfd8d5; padding: 2rem 0 1.5rem; font-size: .95rem; }
.site-foot a { color: #e8efec; }
.foot-honest { max-width: var(--text); }
.foot-cols { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin: 1.5rem 0; }
.foot-cols h2 { font-size: 1rem; margin: 0 0 .5rem; color: #fff; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-small { font-size: .85rem; color: #9aa7a3; margin: 0; }

.todo { background: #ffe066; color: #000; padding: 0 .25rem; font-weight: 600; }

@media (min-width: 48rem) {
  .quote { padding: 1.75rem 2rem 2rem; }
}
