:root {
  --ink: #14181d;
  --ink-soft: #27313b;
  --blue: #0866d6;
  --blue-deep: #073d84;
  --amber: #ffb21a;
  --amber-deep: #c97900;
  --line: #dbe2ea;
  --mist: #f3f6f9;
  --white: #ffffff;
  --ok: #147857;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(20, 24, 29, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--amber);
  border-radius: 8px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .94rem;
}

.sticky-cta {
  background: var(--amber);
  color: #1c1300;
  border: 1px solid #e69b00;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  min-height: 650px;
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 17, 24, .92) 0%, rgba(11, 17, 24, .82) 38%, rgba(11, 17, 24, .38) 72%, rgba(11, 17, 24, .16) 100%),
    var(--hero-image, none) center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
  padding: 64px 0;
}

.eyebrow {
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  max-width: 920px;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); }
h3 { font-size: 1.22rem; }

.hero p {
  font-size: 1.15rem;
  max-width: 740px;
}

.hero-actions, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary { background: var(--amber); color: #1d1300; border-color: #e09900; }
.button-secondary { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.35); }
.button-blue { background: var(--blue); color: var(--white); }
.button-small { min-height: 38px; padding: 8px 12px; font-size: .92rem; }
.button:hover { text-decoration: none; filter: brightness(.98); }

.mini-form, .quote-form, .tool-panel {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-form { padding: 22px; }
.mini-form h2 { font-size: 1.35rem; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.full { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 6px;
  font-size: .88rem;
  font-weight: 750;
  color: var(--ink-soft);
}

input, select, textarea {
  width: 100%;
  border: 1px solid #c7d0da;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea { min-height: 112px; resize: vertical; }

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .85rem;
  font-weight: 600;
}

.checkline input { width: auto; margin-top: 4px; }

.form-status {
  min-height: 24px;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: .9rem;
}

.trust-bar {
  background: var(--ink);
  color: var(--white);
}

.trust-grid {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.trust-item {
  padding: 18px 16px;
  background: rgba(255,255,255,.05);
  font-weight: 800;
}

.section {
  padding: 76px 0;
}

.section.alt { background: var(--mist); }

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
}

.answer-block {
  border-left: 5px solid var(--blue);
  background: #f7fbff;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  font-size: 1.08rem;
}

.safety-note {
  background: #fff8e8;
  border: 1px solid #f4d18b;
  padding: 18px;
  border-radius: 8px;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cluster-subhead {
  margin-top: 28px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
  font-weight: 750;
}

.section-lede {
  max-width: 860px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.library-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.library-search {
  max-width: 720px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.library-search-status { margin: 10px 0 0; color: #5a6672; font-size: .9rem; }

.library-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.library-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}

.library-group h3 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.library-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  font-weight: 750;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.coverage-grid .card p { margin: 8px 0; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.topic-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  background: #d6dadd;
}

.photo-note {
  color: var(--ink-soft);
  font-size: .82rem;
  margin: 0 0 20px;
}

.form-help {
  display: block;
  flex-basis: 100%;
  font-size: .82rem;
  line-height: 1.5;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--blue);
  margin-bottom: 16px;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.article {
  max-width: 800px;
}

.article section {
  margin-bottom: 36px;
}

.aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.quote-form {
  padding: 24px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.faq summary {
  font-weight: 850;
  cursor: pointer;
}

.sources li { margin-bottom: 14px; }

.breadcrumbs {
  font-size: .9rem;
  margin-bottom: 24px;
  color: #5a6672;
}

.page-hero {
  background: linear-gradient(135deg, #111820 0%, #153a63 100%);
  color: var(--white);
  padding: 72px 0 54px;
}

.page-hero p { max-width: 820px; font-size: 1.08rem; }

.guide-photo {
  width: min(1180px, calc(100% - 44px));
  margin: 30px auto 10px;
}

.guide-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 8px;
}

.guide-photo figcaption {
  padding-top: 8px;
  color: var(--ink-soft);
  font-size: .75rem;
}

@media (max-width: 620px) {
  .guide-photo img { aspect-ratio: 4 / 3; }
}

.lease-band {
  background: var(--ink);
  color: var(--white);
  padding: 52px 0;
}

.tool-panel { padding: 24px; margin: 26px 0; }
.tool-output { margin-top: 18px; padding: 16px; background: #f7fbff; border: 1px solid #cfe3fa; border-radius: 8px; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.directory-card { height: 100%; }
.empty-directory { padding: 30px; border: 1px solid var(--line); border-left: 5px solid var(--amber); background: #fffaf0; border-radius: var(--radius); }
.fine-print { color: #5a6672; font-size: .9rem; }

.footer {
  background: #0f1419;
  color: #d8e0e8;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 24px;
}

.footer a { color: #dcecff; }

@media (max-width: 920px) {
  .hero-inner, .intro-grid, .content, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .aside { position: static; }
  .trust-grid, .card-grid, .library-groups, .coverage-grid, .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  .form-grid, .trust-grid, .card-grid, .library-groups, .library-links, .coverage-grid, .directory-grid { grid-template-columns: 1fr; }
  .nav { padding: 0 14px; }
  .container, .hero-inner, .trust-grid { width: min(100% - 28px, 1180px); }
  .sticky-cta { padding: 9px 10px; font-size: .86rem; }
  .section { padding: 52px 0; }
}
