/* Landlord Legal Partners — site styles */
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #0f1f38;
  --navy-2: #16294a;
  --navy-3: #22385f;
  --brass: #b8955a;
  --brass-dark: #8a6a37;
  --ivory: #f6f2ea;
  --paper: #fbf9f5;
  --ink: #1b2333;
  --muted: #5a6475;
  --line: #e4ddd0;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 4px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 3px; }
a:hover { color: var(--brass-dark); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
h1, h2, h3, h4, .h4 { font-family: var(--serif); color: var(--navy); line-height: 1.18; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }
.h4, h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--brass); color: var(--navy); padding: 8px 14px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.mt { margin-top: 1.6rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .95rem/1 var(--sans); letter-spacing: .01em; padding: .95em 1.4em; border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; cursor: pointer; }
.btn-sm { padding: .7em 1.05em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-brass { background: var(--brass); color: var(--navy); }
.btn-brass:hover { background: #c9a76c; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-ghost-light { border-color: rgba(246,242,234,.55); color: var(--ivory); }
.btn-ghost-light:hover { border-color: var(--brass); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--ivory); }

/* Header */
.site-header { background: var(--navy); color: var(--ivory); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(184,149,90,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); text-decoration: none; }
.brand:hover { color: #fff; }
.brand .emblem { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; letter-spacing: -.005em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: rgba(246,242,234,.88); text-decoration: none; font-size: .94rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--brass); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--ivory); margin: 5px 0; }
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--navy); flex-direction: column; align-items: stretch; padding: 16px 20px 24px; border-bottom: 1px solid rgba(184,149,90,.35); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a:not(.btn) { display: block; padding: 10px 0; }
}

/* Hero */
.hero, .page-hero { background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 65%); color: var(--ivory); position: relative; overflow: hidden; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 88% -10%, rgba(184,149,90,.18), transparent 60%); pointer-events: none; }
.hero .wrap, .page-hero .wrap { position: relative; }
.hero { padding: clamp(64px, 10vw, 120px) 0 clamp(64px, 9vw, 110px); }
.page-hero { padding: 48px 0 56px; }
.hero h1, .page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero h1 { max-width: 28ch; }
.kicker { font: 600 .8rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.lede { font-size: 1.18rem; line-height: 1.6; color: rgba(246,242,234,.9); max-width: 62ch; }
.hero .lede { font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.meta { color: rgba(246,242,234,.7); font-size: .92rem; margin: 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none; color: rgba(246,242,234,.85); font-size: .95rem; }
.hero-points li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); margin-right: 10px; vertical-align: middle; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .86rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(246,242,234,.45); }
.crumbs a { color: rgba(246,242,234,.75); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--brass); }

/* Sections */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head .kicker { color: var(--brass-dark); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: .9em; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; position: relative; }
.card-link:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,31,56,.08); color: inherit; }
.card-link .more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--navy-3); }
.card-link:hover .more { color: var(--brass-dark); }
.card-link::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--brass); transition: height .2s; }
.card-link:hover::before { height: 100%; }
.card-navy { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.card-navy h2, .card-navy h3 { color: #fff; }
.card-navy p { color: rgba(246,242,234,.85); }
.tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: 12px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.step { border-top: 2px solid var(--brass); padding-top: 18px; }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 .85rem var(--sans); letter-spacing: .18em; color: var(--brass-dark); }
.step h3 { margin-top: 8px; }
.step p { color: var(--muted); }

/* Two column content */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.sidebar { display: grid; gap: 20px; position: sticky; top: 100px; }
@media (max-width: 960px) { .sidebar { position: static; } }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { border-top: 1px solid var(--line); }
.link-list li:first-child { border-top: 0; }
.link-list a { display: block; padding: 9px 0; text-decoration: none; font-size: .95rem; }
.link-list a[aria-current] { color: var(--brass-dark); font-weight: 600; }

/* Prose */
.prose-wrap { max-width: 820px; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brass-dark); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brass); font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--navy); background: #f3efe6; }
.callout { background: #f3efe6; border-left: 3px solid var(--brass); padding: 18px 22px; margin: 1.6em 0; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin: 0; }
.key-points { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: 22px 26px 8px; margin-bottom: 2em; }
.key-points ul { margin-top: 0; }
.sources { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line); font-size: .92rem; }
.disclaimer { font-size: .86rem; color: var(--muted); margin-top: 2em; font-style: italic; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.6rem var(--sans); color: var(--brass-dark); }
.faq[open] summary::after { content: "–"; }
.faq > div { padding: 0 0 14px; color: var(--muted); }

/* Articles list */
.article-card time { font-size: .85rem; color: var(--muted); }
.topic-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; padding: 0; list-style: none; }
.topic-filter a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .88rem; background: #fff; }
.topic-filter a:hover, .topic-filter a[aria-current] { border-color: var(--brass); color: var(--navy); background: #f3efe6; }

/* Updates feed */
.updates { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.update { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.update time { font-size: .82rem; color: var(--brass-dark); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.update h3 { font-size: 1.12rem; margin: 0 0 .35em; }
.update p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 560px) { .update { grid-template-columns: 1fr; gap: 6px; } }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; padding: 22px 0; font-size: .92rem; color: var(--muted); }
.trust-inner strong { color: var(--navy); font-weight: 600; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #cfc7b8; border-radius: var(--radius); background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy-3); outline: none; box-shadow: 0 0 0 3px rgba(184,149,90,.25); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink); }
.form .check input { width: auto; margin-top: 5px; }
.hidden { display: none; }

/* CTA band + footer */
.cta-band { background: var(--brass); color: var(--navy); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 0; }
.cta-inner h2 { margin: 0 0 .3em; color: var(--navy); }
.cta-inner p { margin: 0; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-brass { background: var(--navy); color: var(--ivory); }
.cta-band .btn-brass:hover { background: var(--navy-3); }
.cta-band .btn-ghost-light { border-color: var(--navy); color: var(--navy); }
.cta-band .btn-ghost-light:hover { background: rgba(15,31,56,.08); }
.site-footer { background: var(--navy); color: rgba(246,242,234,.82); font-size: .93rem; padding-top: 64px; }
.site-footer a { color: rgba(246,242,234,.9); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(246,242,234,.12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-brand p { margin-top: 16px; }
.footer-contact { line-height: 1.8; }
.social { display: flex; gap: 16px; }
.regulatory { padding: 28px 0 40px; font-size: .84rem; color: rgba(246,242,234,.65); display: grid; grid-template-columns: 200px 1fr; gap: 6px 32px; align-items: start; }
.regulatory .sra-badge { grid-row: span 3; }
.regulatory p { margin: 0 0 .6em; }
@media (max-width: 700px) { .regulatory { grid-template-columns: 1fr; } }

/* Utility */
.center { text-align: center; }
.muted { color: var(--muted); }
.lead-dark { font-size: 1.1rem; color: var(--muted); max-width: 66ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--brass-dark); border-bottom: 2px solid var(--brass-dark); transform: rotate(-45deg); }

/* Refinements */
.prose > h2:first-child, .prose > .key-points + h2 { margin-top: 0; }
.split.align-start { align-items: start; }
@media (max-width: 520px) {
  .brand-name { font-size: 1.05rem; }
  .brand .emblem { width: 38px; height: 38px; }
  .hero-actions .btn { width: 100%; }
}

/* Wordmark */
.brand-name { font-size: 1.42rem; padding-bottom: 4px; border-bottom: 2px solid var(--brass); line-height: 1.1; }
@media (max-width: 520px) { .brand-name { font-size: 1.15rem; } }
