.up { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 2.4rem; padding: .4rem 0 1rem; }
.up a { color: inherit; }
.up-crumbs { margin: 0; font-size: .85rem; color: var(--text-muted); }
.up-crumbs a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.up-hero { display: grid; gap: 1.6rem; align-items: start; }
.up-hero h1 { margin: .5rem 0 .6rem; font-size: clamp(1.8rem, 4.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; }
.up-lede { margin: 0 0 1.1rem; font-size: 1.05rem; line-height: 1.5; color: #cbd5e1; }
.up-book { background: rgba(15,23,42,.75); border: 1px solid rgba(34,197,94,.45); border-radius: 14px; padding: 1rem; display: grid; gap: .55rem; }
.up-book strong { font-size: 1.02rem; }
.up-book label { font-size: .82rem; color: var(--text-muted); }
.up-book input[type=text] { min-height: 48px; box-sizing: border-box; width: 100%; padding: 0 .8rem; border-radius: 10px; border: 1px solid rgba(148,163,184,.45); background: var(--bg-main, #020617); color: inherit; font-size: 16px; }
.up-book button { min-height: 50px; border: 0; border-radius: 10px; background: #22c55e; color: #022c22; font-weight: 700; font-size: 1rem; cursor: pointer; }
.up-book button:hover { background: #4ade80; }
.up-book small { font-size: .78rem; color: var(--text-muted); }
.up-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.up-card { background: rgba(15,23,42,.75); border: 1px solid rgba(148,163,184,.22); border-radius: 14px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.up-card.is-wide { grid-column: 1 / -1; }
.up-card span { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.up-card b { font-size: 1.08rem; line-height: 1.25; }
.up-card small { font-size: .84rem; color: var(--text-muted); line-height: 1.45; }
.up h2 { margin: 0; font-size: 1.3rem; }
.up-steps { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.up-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .75rem; align-items: start; align-content: start; }
.up-steps .n { width: 28px; height: 28px; border-radius: 999px; background: rgba(34,197,94,.15); color: #4ade80; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.up-steps strong { display: block; font-size: .98rem; }
.up-steps p { margin: .15rem 0 0; font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.up-ask { background: rgba(15,23,42,.75); border: 1px solid rgba(148,163,184,.22); border-radius: 14px; padding: 1rem 1.1rem; display: grid; gap: .5rem; }
.up-ask h2 { font-size: 1.02rem; }
.up-ask p { margin: 0; font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.up-links { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.up-links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .95rem; text-decoration: none; }
.up-links a.ext { text-decoration: underline; text-underline-offset: 2px; }
.up-links svg { color: var(--text-muted); flex: none; }
.up-more { border-top: 1px solid rgba(148,163,184,.22); padding-top: 1rem; }
.up-more summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.up-more p, .up-more li { font-size: .9rem; color: #cbd5e1; line-height: 1.55; }
.up-more h3 { margin: 1rem 0 .3rem; font-size: .95rem; }
.up-foot { margin: 0; font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
.up-foot a { color: var(--text-muted); text-decoration: underline; }
@media (min-width: 880px) {
  .up-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; }
  .up-cards { margin-top: 2.2rem; }
  .up-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
  .up-steps li { grid-template-columns: 1fr; gap: .5rem; border-top: 2px solid rgba(34,197,94,.55); padding-top: .9rem; }
  .up-ask { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; }
}
.up-guide { max-width: 720px; display: flex; flex-direction: column; gap: 1.6rem; }
.up-guide h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.up-guide p, .up-guide li { font-size: 1rem; line-height: 1.6; color: #cbd5e1; }
.up-guide p { margin: 0 0 .7rem; }
.up-guide ul { margin: 0 0 .7rem; padding-left: 1.2rem; display: grid; gap: .35rem; }
.up-guide a { text-decoration: underline; text-underline-offset: 2px; }
.up-tldr { background: rgba(15,23,42,.75); border: 1px solid rgba(148,163,184,.22); border-left: 3px solid #22c55e; border-radius: 12px; padding: .9rem 1.1rem; }
.up-tldr p { margin: 0; color: #e5e7eb; }
.up-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.up-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .85rem; border-radius: 999px; border: 1px solid rgba(148,163,184,.35); text-decoration: none; font-size: .9rem; }
.up-chips a:hover { border-color: #22c55e; }
.up-list { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.up-list a { display: block; background: rgba(15,23,42,.75); border: 1px solid rgba(148,163,184,.22); border-radius: 14px; padding: .9rem 1rem; text-decoration: none; }
.up-list a:hover { border-color: rgba(34,197,94,.55); }
.up-list b { display: block; font-size: 1.02rem; }
.up-list small { color: var(--text-muted); font-size: .88rem; line-height: 1.45; }
.up-table { width: 100%; border-collapse: collapse; margin-top: .6rem; font-size: .92rem; }
.up-table th, .up-table td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid rgba(148,163,184,.2); line-height: 1.45; }
.up-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; }
.up-table td:first-child { width: 38%; }
@media (max-width: 560px) { .up-table thead { display: none; } .up-table tr { display: block; padding: .5rem 0; border-bottom: 1px solid rgba(148,163,184,.2); } .up-table td { display: block; border: 0; padding: .1rem 0; width: auto !important; } }

/* Comparison guide: every utility, five columns. The table may run wider than the
   text column, into the empty space beside it. */
.up-table-wrap { overflow-x: auto; width: min(1040px, calc(100vw - 32px)); }
.up-compare { font-size: .86rem; min-width: 760px; table-layout: fixed; }
.up-compare th[scope="row"] { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .88rem; color: var(--text-main); }
.up-compare thead th:nth-child(1) { width: 18%; }
.up-compare thead th:nth-child(2) { width: 10%; }
.up-compare thead th:nth-child(3) { width: 36%; }
.up-compare thead th:nth-child(4) { width: 23%; }
.up-compare thead th:nth-child(5) { width: 13%; }
.up-compare td:first-child { width: auto; }
.up-nowrap { white-space: nowrap; }
.up-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 560px) {
  .up-table-wrap { width: auto; }
  .up-compare { min-width: 0; table-layout: auto; }
  .up-compare th[scope="row"] { display: block; width: auto; padding: .1rem 0; border: 0; font-size: .95rem; }
  .up-compare td[data-label]::before { content: attr(data-label) ": "; color: var(--text-muted); font-weight: 600; }
}

/* Guides in the home page's look (inner.css cards) */
.in-sec .up-table-wrap { width: auto; margin-top: .75rem; }
.in-guide .in-sec ul:not(.in-chips):not(.in-grid), .in-guide .in-sec ol { margin: 0 0 .85rem; padding-left: 1.2rem; max-width: 48rem; line-height: 1.65; color: #e2e8f0; }
.in-guide .in-sec li + li { margin-top: .35rem; }
.in-guide .in-sec .up-table th, .in-guide .in-sec .up-table td { color: #e2e8f0; }
.in-guide .in-sec .up-table thead th { color: #94a3b8; }

/* Water utility lookup result */
.wu-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: .5rem 0 1rem; max-width: 48rem; }
.wu-facts > div { display: flex; flex-direction: column; gap: .25rem; padding: .9rem 1rem; border-radius: 1rem; background: rgba(15, 23, 42, .6); border: 1px solid rgba(148, 163, 184, .2); }
.wu-facts > div.is-wide { grid-column: 1 / -1; }
.wu-facts span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.wu-facts b { font-size: 1rem; line-height: 1.4; color: #f8fafc; font-weight: 600; }
.wu-note { font-size: .88rem !important; color: #94a3b8 !important; margin-top: .75rem !important; }
@media (max-width: 560px) { .wu-facts { grid-template-columns: 1fr; } }

/* Water-utility lookup: field label kept for screen readers only; one-line lead under the utility name */
.wu-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wu-lead { margin: 4px 0 18px; max-width: 65ch; }
/* The answer: the utility's name, larger than the card titles around it, in the site's light green
   (the kicker green, not the button green, so it doesn't read as a button) */
.in-sec h2.wu-name { margin: .1rem 0 .4rem; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; color: #bbf7d0; }
