/* Server-rendered neighborhood pages (/neighborhoods/...) — builds on app.css */
.seo-nav { display: flex; }
.page .lead2 { color: var(--ink-2); font-size: 17px; max-width: 760px; margin-top: 10px; line-height: 1.55; }
.page .lead2 b { color: var(--brand); }
.dir { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.dir a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.dir a:hover { border-color: var(--brand-wash-2); transform: translateY(-2px); }
.dir b { display: block; font-weight: 650; }
.dir span { font-size: 13px; color: var(--muted); }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.letters a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 650; }
.lh { font-family: var(--serif); font-size: 20px; margin: 18px 0 8px; color: var(--brand); }
.ptable { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.ptable th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.ptable .r { text-align: right; }
.ptable a { font-weight: 600; text-decoration: none; }
.ptable a:hover { text-decoration: underline; }
.sc { display: inline-flex; align-items: baseline; gap: 6px; }
.sc b { font-family: var(--serif); font-size: 18px; }
.sc em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.sgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 18px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.scard span { font-size: 13px; color: var(--ink-2); font-weight: 600; display: block; min-height: 34px; }
.scard b { font-family: var(--serif); font-size: 30px; font-weight: 800; display: block; }
.scard b small { font-size: 12px; color: var(--muted); font-weight: 500; }
.scard em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.page .card h2 { font-size: 19px; margin-bottom: 14px; }
@media (max-width: 1020px) { .sgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .sgrid { grid-template-columns: repeat(2, 1fr); } .ptable th:nth-child(2), .ptable td:nth-child(2), .ptable th:nth-child(4), .ptable td:nth-child(4) { display: none; } .seo-nav { display: none; } }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.tablewrap .ptable { min-width: 560px; }
/* city vs. city */
.page-h .arrow { color: var(--brand); font-size: .7em; margin: 0 .15em; }
.cmp-sum { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); line-height: 1.55; }
.cmp-sum li::marker { color: var(--brand); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.tablewrap .mtable { min-width: 480px; margin: 0; }
.card .tablewrap { border: 0; }
/* share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.share span { font-weight: 650; margin-right: 4px; }
.share a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); }
.share a:hover { border-color: var(--brand); color: var(--brand); }
/* privacy & terms */
.legal { max-width: 780px; }
.legal h1 { margin-top: 12px; }
.legal h2 { font-size: 21px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.65; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 420px) { .hdr-in { gap: 10px; } .wordmark { font-size: 18px; } .hdr-right .btn-sm { padding: 0 12px; } }
