/* Inner marketing pages in the home page's look (J1+): water utility pages and hub, city pages and
   the Washington hub, tester signup, contact. Shared pieces (Fraunces, photo, cards, pills) are in
   ../brand.css; the photo itself comes from scheduling/_hero_bg.html. */

/* ── Photo header band ─────────────────────────── */
.in-band { margin: -0.5rem 0 1.5rem; padding: 2.75rem 2.25rem 2.5rem; }
.in-band-main { max-width: 44rem; }
.in-crumbs { margin: 0 0 .9rem; font-size: .88rem; color: #cbd5e1; }
.in-crumbs a { color: #e2e8f0; text-decoration: underline; text-underline-offset: 2px; }
.in-kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .9rem; padding: .35rem .8rem;
  border-radius: 999px; background: rgba(2, 6, 23, .72); border: 1px solid rgba(134, 239, 172, .55);
  color: #bbf7d0; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.in-kicker svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.in-band h1 { margin: 0 0 .75rem; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.01em;
  color: #f8fafc; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.in-sub { margin: 0; max-width: 40rem; font-size: 1.1rem; line-height: 1.55; color: #e2e8f0; }
.in-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Header with a column on the right (utility pages: book box + the requirement cards). */
.in-band.is-split { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 900px) {
  .in-band.is-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; }
}

/* Requirement cards on the photo */
.in-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.in-fact { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: 1rem;
  background: rgba(2, 6, 23, .78); border: 1px solid rgba(148, 163, 184, .35); }
.in-fact.is-wide { grid-column: 1 / -1; }
.in-fact span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.in-fact b { font-size: 1.1rem; line-height: 1.25; color: #f8fafc; }
.in-fact small { font-size: .86rem; line-height: 1.45; color: #cbd5e1; }

/* Address box (scheduling/landing/_book_box.html) on the photo */
.in-band .up-book { margin-top: 1.5rem; display: grid; gap: .55rem; padding: 1.2rem; border-radius: 1.1rem;
  background: rgba(2, 6, 23, .82); border: 1px solid rgba(134, 239, 172, .55); }
.in-band .up-book strong { font-size: 1.05rem; color: #f8fafc; }
.in-band .up-book label { font-size: .82rem; color: #cbd5e1; }
.in-band .up-book input[type=text] { min-height: 50px; box-sizing: border-box; width: 100%; padding: 0 1rem;
  border-radius: 999px; border: 1px solid rgba(148, 163, 184, .5); background: #020617; color: #f8fafc; font-size: 16px; }
.in-band .up-book button { min-height: 50px; border: 0; border-radius: 999px; background: #22c55e; color: #052e16;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.in-band .up-book button:hover { background: #16a34a; }
.in-band .up-book small { font-size: .8rem; line-height: 1.45; color: #cbd5e1; }
.in-band .up-book a { color: #86efac; text-decoration: underline; text-underline-offset: 2px; }

/* ── Body ──────────────────────────────────────── */
.in-body { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.in-sec h2 { margin: 0 0 .75rem; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; color: #f8fafc; }
.in-sec h3 { margin: 1.25rem 0 .35rem; font-size: 1rem; color: #f8fafc; }
.in-sec p { margin: 0 0 .85rem; max-width: 48rem; font-size: 1rem; line-height: 1.65; color: #cbd5e1; }
.in-sec p:last-child { margin-bottom: 0; }
.in-sec p strong { color: #f1f5f9; }
.in-sec a { color: #86efac; text-decoration: underline; text-underline-offset: 2px; }
.in-sec a:hover { color: #bbf7d0; }
.in-sec a.hj-btn, .in-aside a.hj-btn, .in-sec .in-links a, .in-sec .in-chips a, .in-sec .in-grid a { text-decoration: none; }
.in-sec a.hj-btn.is-primary { color: #052e16; }
.in-sec a.hj-btn.is-ghost, .in-sec .in-links a, .in-sec .in-chips a { color: #f1f5f9; }
.in-sec .in-grid a { color: #f8fafc; }

/* Two columns of cards on wide screens */
.in-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); gap: 1.25rem; }

/* Check-mark list */
.in-checks { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .6rem; max-width: 48rem; }
.in-checks li { position: relative; padding-left: 1.9rem; line-height: 1.55; color: #e2e8f0; }
.in-checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(34, 197, 94, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386efac' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Numbered steps (in a green card) */
.in-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 880px) { .in-steps.is-row { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 1.5rem; } }
.in-steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
.in-steps .n { width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(34, 197, 94, .2); color: #86efac; font-weight: 700; font-size: .9rem; }
.in-steps strong { display: block; margin-bottom: .15rem; color: #f6faf7; }
.in-steps p { margin: 0; font-size: .95rem; line-height: 1.55; color: #cfe0d5; }

/* Contact strip and links */
.in-ask { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.in-ask > div:first-child { flex: 1 1 22rem; }
.in-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.in-links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .45); color: #f1f5f9; text-decoration: none; font-weight: 600; font-size: .95rem; }
.in-links a:hover { border-color: #22c55e; }
.in-links svg { color: #86efac; flex: none; }

/* Pill links (common questions, nearby areas) */
.in-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.in-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .95rem; border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .4); background: #0b1222; color: #e2e8f0; text-decoration: none; font-size: .92rem; font-weight: 600; }
.in-chips a:hover { border-color: #22c55e; color: #f8fafc; }
.in-label { margin: 0 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }

/* City / utility link grid */
.in-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: .7rem; }
.in-grid a { display: flex; flex-direction: column; gap: .2rem; height: 100%; box-sizing: border-box; padding: 1rem 1.1rem; border-radius: 1rem;
  background: #111b2e; border: 1px solid rgba(148, 163, 184, .25); color: #f8fafc; text-decoration: none; }
.in-grid a:hover { border-color: rgba(34, 197, 94, .6); }
.in-grid b { font-size: 1.02rem; }
.in-grid small { font-size: .86rem; line-height: 1.4; color: #94a3b8; }

/* FAQ */
.in-faq { display: grid; gap: .6rem; }
.in-faq details { border-radius: 1rem; background: #111b2e; border: 1px solid rgba(148, 163, 184, .25); }
.in-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: 52px; padding: .8rem 1.1rem; font-weight: 600; color: #f8fafc; }
.in-faq summary::-webkit-details-marker { display: none; }
.in-faq summary::after { content: "+"; flex: none; font-size: 1.3rem; line-height: 1; color: #86efac; }
.in-faq details[open] summary::after { content: "–"; }
.in-faq details > p, .in-faq details > div { margin: 0; padding: 0 1.1rem 1rem; font-size: .97rem; line-height: 1.6; color: #cbd5e1; }
.in-faq-list { display: grid; gap: 1.1rem; }
.in-faq-list h3 { margin: 0 0 .25rem; font-size: 1.02rem; color: #f8fafc; }
.in-faq-list p { margin: 0; }

/* "More about the program" */
.in-more summary { cursor: pointer; min-height: 32px; font-weight: 700; color: #f8fafc; }
.in-more[open] summary { margin-bottom: .5rem; }

/* Closing call to action (green card) */
.in-cta { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.in-cta > div:first-child { flex: 1 1 24rem; }
.in-cta h2 { margin: 0 0 .4rem; font-size: clamp(1.4rem, 2.4vw, 1.75rem); color: #f6faf7; }
.in-cta p { margin: 0; color: #cfe0d5; line-height: 1.6; }
.in-cta p + p { margin-top: .5rem; }
.in-cta a:not(.hj-btn) { color: #bbf7d0; text-decoration: underline; text-underline-offset: 2px; }
.in-cta .in-ctas { margin-top: 0; }

.in-foot { margin: 0; font-size: .8rem; line-height: 1.55; color: #94a3b8; }
.in-foot a { color: #cbd5e1; text-decoration: underline; }

/* ── Form pages (tester signup, contact): form card + side column ── */
.in-layout { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-start; margin-bottom: 2.5rem; }
.in-main { flex: 999 1 34rem; min-width: 0; }
.in-main .form-card { max-width: none; margin: 0; border-radius: 1.4rem; padding: 2rem; background: #0b1222; border: 1px solid rgba(148, 163, 184, .28); }
.in-main .form-row input, .in-main .form-row select, .in-main .form-row textarea { border-radius: 12px; }
.in-main .cta-button { min-height: 52px; padding: .85rem 1.9rem; font-size: 1.05rem; font-weight: 700; border-radius: 999px; }
.in-main .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.in-main .secondary-link a { color: #86efac; }
.in-aside { flex: 1 1 18rem; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.in-aside .hj-card { padding: 1.5rem 1.6rem; }
.in-aside h2 { margin: 0 0 .9rem; font-size: 1.5rem; line-height: 1.2; color: #f6faf7; }
.in-aside p { margin: 0; font-size: .95rem; line-height: 1.55; color: #cbd5e1; }
.in-aside p + p { margin-top: .6rem; }
.in-aside strong { color: #f8fafc; }
.in-aside a { color: #86efac; text-decoration: underline; text-underline-offset: 2px; }
.in-aside .in-steps p { color: #d5e6dc; }

/* Tester terms on the photo */
.in-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: 1.5rem; max-width: 44rem; }
.in-stat { padding: 1rem 1.1rem; border-radius: 1rem; background: rgba(2, 6, 23, .78); border: 1px solid rgba(148, 163, 184, .35); }
.in-stat.is-accent { border-color: rgba(134, 239, 172, .6); }
.in-stat b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.9rem; line-height: 1.1; color: #f8fafc; }
.in-stat.is-accent b { color: #86efac; }
.in-stat span { display: block; margin-top: .3rem; font-size: .92rem; font-weight: 600; color: #f1f5f9; }
.in-stat small { display: block; margin-top: .2rem; font-size: .8rem; line-height: 1.4; color: #cbd5e1; }

@media (max-width: 640px) {
  .in-band { padding: 1.9rem 1.25rem 1.75rem; }
  .in-band .up-book { padding: 1rem; }
  .in-facts { grid-template-columns: minmax(0, 1fr); }
  .in-stats { grid-template-columns: minmax(0, 1fr); }
  .in-stat b { font-size: 1.6rem; }
  .in-main .form-card { padding: 1.4rem; }
}

/* Company signup: locations */
.cs-locs { margin: 1.5rem 0 0; padding: 1.25rem 0 0; border: 0; border-top: 1px solid rgba(148, 163, 184, .25); }
.cs-locs legend { padding: 0; font-weight: 700; font-size: 1.05rem; color: #f8fafc; }
.cs-loc { margin: 0 0 .9rem; padding: 1rem; border-radius: 1rem; background: #111b2e; border: 1px solid rgba(148, 163, 184, .25); }
.cs-loc[hidden] { display: none; }
.cs-loc-head { margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
.cs-loc-grid { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .cs-loc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 7rem; } }
.cs-loc label { display: block; margin: 0 0 .3rem; font-size: .85rem; font-weight: 600; color: #e2e8f0; }
.cs-loc input { width: 100%; max-width: 100%; box-sizing: border-box; min-height: 44px; padding: .55rem .7rem; border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .6); background: #020617; color: #f8fafc; font-size: 16px; -webkit-appearance: none; appearance: none; }
.cs-loc input:focus { outline: none; border-color: #22c55e; box-shadow: 0 0 0 1px rgba(34, 197, 94, .5); }
.cs-loc-grid > div { min-width: 0; }
.cs-add { min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px dashed rgba(134, 239, 172, .6); background: transparent;
  color: #bbf7d0; font: inherit; font-weight: 600; cursor: pointer; }
.cs-add:hover { border-style: solid; }
