:root {
  --ink: #16332e;
  --ink-strong: #0e2924;
  --muted: #61716d;
  --line: #d9e1de;
  --paper: #fffefd;
  --wash: #f2f6f4;
  --wash-warm: #f8f3e9;
  --green: #174f43;
  --green-soft: #dfece7;
  --amber: #8b5318;
  --danger: #a63b32;
  --shadow: 0 16px 40px rgba(15, 52, 44, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 20; background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { height: 74px; border-bottom: 1px solid var(--line); background: rgba(255,254,253,.96); position: relative; z-index: 5; }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--green); color: white; font-size: 12px; letter-spacing: .05em; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; color: #3d514d; font-size: 14px; font-weight: 650; }
nav a:hover, nav a:focus { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
h1, h2, h3 { color: var(--ink-strong); line-height: 1.12; letter-spacing: -.035em; margin-top: 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 72px); font-weight: 500; }
h2 { font-size: clamp(27px, 3.2vw, 40px); }
h3 { font-size: 20px; }
p { margin-top: 0; }
.eyebrow { margin-bottom: 14px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-lede { font-size: clamp(18px, 2.3vw, 24px); color: #415752; max-width: 720px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 9px; background: var(--green); color: white; font-weight: 750; text-decoration: none; border: 1px solid var(--green); }
.button:hover, .button:focus { background: var(--ink-strong); }
.button--secondary { flex-shrink: 0; min-width: 190px; color: var(--green); background: white; white-space: nowrap; }
.button--secondary:hover, .button--secondary:focus { color: white; }
.text-link, .section-link a { color: var(--green); font-weight: 750; text-underline-offset: 4px; }

.home-hero { padding: 86px 0 76px; background: linear-gradient(110deg, #f6f9f7 0%, #edf3f0 66%, #f8f3e9 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 72px; align-items: center; }
.hero-copy h1 { margin-bottom: 18px; max-width: 780px; }
.hero-proof { background: var(--ink-strong); color: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.hero-proof p { color: #bdd0ca; font-size: 13px; margin-bottom: 0; }
.proof-label { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.proof-stat { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.proof-stat strong { display: block; color: white; font-size: 34px; line-height: 1; }
.proof-stat span { display: block; color: #bdd0ca; font-size: 13px; margin-top: 8px; }

.search-panel { background: white; border: 1px solid #ccd9d5; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-top: 32px; max-width: 790px; }
.search-panel h2 { font-family: inherit; font-size: 14px; letter-spacing: 0; margin-bottom: 10px; }
.lookup-form { display: flex; gap: 10px; }
.lookup-form input { flex: 1; min-width: 0; height: 54px; border: 1px solid #aebfba; border-radius: 9px; padding: 0 16px; color: var(--ink); background: #fff; }
.lookup-form input:focus { outline: 3px solid rgba(23,79,67,.18); border-color: var(--green); }
.lookup-form button { height: 54px; min-width: 118px; border: 0; border-radius: 9px; background: var(--green); color: white; font-weight: 780; cursor: pointer; }
.lookup-form button:hover { background: var(--ink-strong); }
.lookup-form button:disabled { opacity: .72; cursor: wait; }
.search-hint { color: var(--muted); font-size: 12px; margin: 9px 0 0; }
.freshness { color: var(--muted); font-size: 13px; margin: 15px 0 0; }
.search-feedback { min-height: 0; margin-top: 0; font-size: 14px; font-weight: 700; }
.search-feedback:not(:empty) { margin-top: 18px; }
.search-feedback.is-loading { color: var(--muted); }
.search-feedback.is-error { color: var(--danger); }
.search-feedback.is-success { color: var(--green); }
.result-list { display: grid; gap: 10px; margin-top: 12px; }
.result-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-align: left; }
.result-card h3 { font-family: inherit; font-size: 17px; letter-spacing: -.01em; margin-bottom: 9px; }
.result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; color: var(--muted); font-size: 12px; }
.license-chip, .status-chip { display: inline-flex; border-radius: 99px; padding: 3px 8px; background: var(--wash); color: var(--ink); font-weight: 700; }
.status-active { background: #dff2e7; color: #195f42; }
.result-link { flex: 0 0 auto; color: var(--green); font-weight: 750; font-size: 13px; text-underline-offset: 3px; }
.empty-state { margin-top: 12px; padding: 28px; border: 1px dashed #b7c5c1; border-radius: 12px; text-align: center; background: var(--wash); }
.empty-state h3 { font-family: inherit; font-size: 18px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin: 0; }

.feature-section, .explain-section, .record-samples { padding: 78px 0; }
.section-intro { max-width: 680px; margin-bottom: 38px; }
.section-intro > p:last-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid article { border-top: 3px solid var(--green); background: var(--wash); padding: 25px; min-height: 220px; }
.feature-grid article > span { color: var(--amber); font-size: 13px; font-weight: 850; letter-spacing: .12em; }
.feature-grid article h3, .feature-grid article h2 { font-family: inherit; font-size: 21px; margin: 28px 0 10px; }
.feature-grid article p { color: var(--muted); font-size: 14px; }
.feature-grid--three { grid-template-columns: repeat(3, 1fr); }
.split-section, .landing-explainer { padding: 76px 0; background: var(--ink-strong); color: white; }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.split-section h2, .landing-explainer h2 { color: white; }
.split-section .eyebrow { color: #b7d5ca; }
.split-section .prose, .landing-explainer .prose { color: #c8d8d3; font-size: 17px; }
.split-section .text-link { color: white; }

.lookup-hero, .guide-hero, .landing-hero, .leads-hero, .simple-hero { padding: 78px 0; background: var(--wash); border-bottom: 1px solid var(--line); }
.lookup-hero h1, .guide-hero h1, .landing-hero h1, .leads-hero h1 { margin-bottom: 18px; }
.lookup-hero .search-panel { margin-top: 34px; }
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.three-columns h2 { font-family: inherit; font-size: 20px; }
.three-columns p { color: var(--muted); }

.guide-hero .button { margin-top: 16px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 80px; padding-top: 72px; padding-bottom: 90px; }
.article-main section { margin-bottom: 58px; }
.article-main h2 { font-size: 29px; }
.article-main p { font-size: 17px; color: #40534f; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: steps; }
.steps li { position: relative; border-top: 1px solid var(--line); padding: 22px 0 22px 54px; counter-increment: steps; }
.steps li::before { content: counter(steps); position: absolute; left: 0; top: 21px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: white; background: var(--green); font-size: 13px; font-weight: 800; }
.steps li > span { font-weight: 800; }
.steps li p { margin: 5px 0 0; font-size: 15px; }
.caution-box { background: var(--wash-warm); border-left: 4px solid var(--amber); padding: 28px; }
.caution-box h2 { font-size: 22px; }
.official-source { padding-top: 24px; border-top: 1px solid var(--line); }
.official-source a { color: var(--green); }
.article-aside { align-self: start; position: sticky; top: 28px; border-top: 3px solid var(--green); }
.aside-label { padding: 18px 0 10px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.article-aside a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; }
.article-aside a:hover { color: var(--green); }

.landing-hero .shell { max-width: 1000px; }
.landing-hero .search-panel { max-width: 820px; }
.search-panel--compact .search-results, .search-panel--compact .search-feedback { display: none; }
.stats-section { padding: 62px 0 80px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 58px; }
.stat-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.stat-card strong { display: block; font-size: 34px; letter-spacing: -.04em; }
.stat-card span { color: var(--muted); font-size: 13px; }
.distribution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.distribution-grid h2 { font-family: inherit; font-size: 22px; margin-bottom: 24px; }
.bar-row { margin-bottom: 16px; }
.bar-label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 6px; font-size: 12px; }
.bar-label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 7px; background: var(--green-soft); border-radius: 9px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.record-samples { background: var(--wash); }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sample-grid a { display: flex; flex-direction: column; min-height: 150px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.sample-grid a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.sample-grid strong { margin-bottom: 18px; }
.sample-grid span { color: var(--green); font-size: 12px; font-weight: 800; }
.sample-grid small { color: var(--muted); margin-top: auto; }

.coming-soon { display: inline-flex; margin-top: 18px; padding: 7px 12px; border-radius: 99px; background: var(--green-soft); color: var(--green); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 850; }
.cta-box { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px; background: var(--wash-warm); border-radius: var(--radius); }
.cta-box h2 { font-family: inherit; font-size: 26px; margin-bottom: 8px; }
.cta-box p:last-child { color: var(--muted); margin-bottom: 0; }

.record-hero { padding: 58px 0; background: var(--wash); border-bottom: 1px solid var(--line); }
.record-hero-grid { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.record-hero h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 14px; }
.record-license { color: var(--muted); }
.record-license strong { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.status-card { display: grid; grid-template-columns: 10px 1fr; column-gap: 9px; min-width: 245px; padding: 20px; border: 1px solid #c6d3cf; border-radius: 13px; background: white; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #2d9366; margin-top: 6px; }
.status-card span:not(.status-dot), .status-card small { color: var(--muted); font-size: 12px; }
.status-card strong, .status-card small { grid-column: 2; }
.status-card strong { font-size: 19px; }
.record-layout { display: grid; grid-template-columns: minmax(0, 800px) 260px; gap: 70px; padding-top: 64px; padding-bottom: 90px; }
.record-section { padding: 0 0 54px; margin-bottom: 54px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; gap: 17px; align-items: baseline; }
.section-heading h2 { font-size: 28px; }
.section-number { color: var(--amber); font-weight: 850; font-size: 12px; letter-spacing: .12em; }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 12px 0 0; }
.record-field { padding: 13px 0; border-top: 1px solid var(--line); }
.record-field dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 750; }
.record-field dd { margin: 3px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.filing-note { color: var(--muted); background: var(--wash); padding: 13px 15px; border-radius: 9px; font-size: 13px; }
.source-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--wash); }
.source-box h2 { font-family: inherit; font-size: 21px; }
.source-box p:last-child { margin: 0; color: var(--muted); }
.record-aside { align-self: start; position: sticky; top: 28px; }
.aside-card { padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--green); margin-bottom: 16px; }
.aside-card h2 { font-family: inherit; font-size: 18px; }
.aside-card p { color: var(--muted); font-size: 13px; }
.aside-card .button { width: 100%; }
.aside-card--muted { border-top-color: var(--amber); background: var(--wash-warm); }
.simple-hero { min-height: 58vh; display: flex; align-items: center; }

.site-footer { padding: 58px 0 24px; background: #0c2823; color: #d7e5e0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 58px; }
.footer-brand { color: white; }
.footer-grid p { color: #9fb9b2; font-size: 13px; margin-top: 17px; }
.footer-grid h2 { color: white; font-family: inherit; font-size: 13px; letter-spacing: .05em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a:not(.brand) { color: #b8cdc7; font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: white; text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(255,255,255,.14); margin-top: 42px; padding-top: 22px; color: #8da9a2; font-size: 11px; }

@media (max-width: 860px) {
  .hero-grid, .split-grid, .article-layout, .record-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero-proof { max-width: 520px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .three-columns, .sample-grid { grid-template-columns: 1fr 1fr; }
  .article-aside, .record-aside { position: static; }
  .record-hero-grid { align-items: start; flex-direction: column; }
  .distribution-grid { gap: 35px; }
}

@media (max-width: 640px) {
  .shell, .narrow { width: min(100% - 28px, 1160px); }
  .site-header { height: auto; padding: 14px 0; }
  .nav-wrap { align-items: flex-start; }
  nav { gap: 7px; flex-direction: column; align-items: flex-end; }
  nav a { font-size: 12px; }
  .home-hero, .lookup-hero, .guide-hero, .landing-hero, .leads-hero { padding: 50px 0; }
  h1 { font-size: 42px; }
  .lookup-form { flex-direction: column; }
  .lookup-form button { width: 100%; }
  .search-panel { padding: 15px; }
  .feature-grid, .feature-grid--three, .three-columns, .stats-grid, .distribution-grid, .sample-grid, .record-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-section, .explain-section, .record-samples { padding: 55px 0; }
  .result-card, .source-box, .cta-box { align-items: stretch; flex-direction: column; }
  .result-link { align-self: flex-start; }
  .article-layout, .record-layout { padding-top: 48px; padding-bottom: 60px; }
  .record-section { margin-bottom: 38px; padding-bottom: 38px; }
  .status-card { min-width: 100%; }
  .footer-grid { gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
