/* BillMellow 2027 refresh: calm, clear and product-led. */
:root {
  --ink: #1d2b26;
  --paper: #f5f7f2;
  --lime: #d9f36d;
  --lilac: #e8f0e9;
  --muted: #66736b;
  --line: #dce4dc;
  --peach: #df875f;
  --surface: #fff;
  --shadow-soft: 0 18px 48px rgb(29 43 38 / 8%);
}

html { scroll-padding-top: 96px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
::selection { background: #d9f36d; color: #1d2b26; }
.wrap { width: min(1240px, calc(100% - 64px)); }

/* A compact, always-clear navigation bar across the public site. */
.nav.wrap {
  position: sticky;
  top: 0;
  z-index: 25;
  width: 100%;
  height: 78px;
  margin: 0 auto;
  padding-inline: max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgb(29 43 38 / 8%);
  background: rgb(248 249 245 / 90%);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}
.nav nav { align-items: center; gap: clamp(16px, 2vw, 28px); color: #46534d; font-size: 13px; }
.nav nav a { transition: color 160ms ease; }
.nav nav a:hover { color: #15221d; text-decoration: none; }
.brand-wordmark { color: #1d2b26; }
.brand-domain { color: #c66f4e; }
.button {
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgb(29 43 38 / 12%); }
.dark { background: #1d2b26; color: #fff; }
.lime { background: var(--lime); color: #1d2b26; }
.nav-cta { min-height: 42px; padding: 10px 16px; border-radius: 10px; }
button:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #657c48;
  outline-offset: 3px;
}

/* Hero: tell visitors what the tool does, show the result, then offer ZIP context. */
.hero {
  position: relative;
  isolation: isolate;
  width: min(1280px, calc(100% - 48px));
  max-width: 1280px;
  min-height: 590px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  margin: 24px auto 0;
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid #dce9dd;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 84% 16%, rgb(217 243 109 / 43%), transparent 27%),
    linear-gradient(132deg, #eaf2e9 0%, #f1f4e9 53%, #e7eee7 100%);
  color: var(--ink);
}
.hero::before {
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -265px;
  width: 560px;
  height: 560px;
  border: 1px solid rgb(37 70 53 / 12%);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgb(255 255 255 / 14%), 0 0 0 84px rgb(255 255 255 / 10%);
  content: "";
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero .eyebrow { margin: 0 0 19px; color: #51674f; font-size: 11px; letter-spacing: .13em; }
.hero h1 {
  max-width: 11ch;
  color: #192721;
  font-size: clamp(54px, 6.2vw, 86px);
  font-weight: 760;
  line-height: .99;
  letter-spacing: -.072em;
}
.hero h1 em { color: #668138; }
.hero-description { max-width: 36rem; margin: 23px 0 24px; color: #4e5d55; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.65; }
.hero .button.lime { background: #1d2b26; color: #fff; }
.hero .hero-secondary { margin-left: 8px; border: 1px solid #bdcbbd; border-radius: 12px; background: rgb(255 255 255 / 56%); color: #273a30; }
.hero-monthly-note { margin-top: 17px; color: #526259; }
.hero .hero-foot { margin-top: 15px; color: #58665e; font-size: 11px; letter-spacing: .01em; }
.hero-secondary-path { margin-top: 10px; }
.hero-secondary-path a { color: #36543d; text-underline-offset: 4px; }
.hero-zip-search {
  display: grid;
  gap: 9px;
  max-width: 530px;
  margin: 0 0 28px;
  padding: 13px 14px;
  border: 1px solid rgb(81 103 79 / 22%);
  border-radius: 16px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 8px 24px rgb(29 43 38 / 4%);
}
.hero-zip-search > label { color: #2a3c31; font-size: 12px; font-weight: 750; }
.hero-zip-controls { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.hero-zip-controls input { height: 46px; border: 1px solid #d6dfd5; border-radius: 10px; background: #fff; color: #1d2b26; }
.hero-zip-controls .button { min-height: 46px; padding: 11px 16px; border-radius: 10px; }
.hero-zip-search > p { color: #68756d; font-size: 11px; line-height: 1.45; }
.hero-zip-search :focus-visible { outline-color: #668138; }
.hero .hero-art { position: relative; z-index: 1; min-width: 0; }
.hero-bill-preview {
  position: relative;
  width: min(100%, 500px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgb(255 255 255 / 92%);
  border-radius: 24px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 26px 65px rgb(33 53 40 / 15%), 0 2px 8px rgb(33 53 40 / 6%);
  backdrop-filter: blur(16px);
}
.hero-preview-icon { background: #e4f3b3; color: #31462a; }
.hero-preview-topline { margin-bottom: 20px; }
.hero-preview-topline .micro { color: #647269; font-size: 10px; letter-spacing: .08em; }
.hero-preview-sample { border-color: #dfe5dc; background: #f8faf6; color: #5d6c61; }
.hero-preview-periods > div { border: 1px solid #e5ebe2; background: #f7f9f5; }
.hero-preview-periods > div > span, .hero-preview-delta > span { color: #637168; font-size: 10px; letter-spacing: .055em; }
.hero-preview-periods strong { color: #1d2b26; font-size: clamp(30px, 3vw, 39px); }
.hero-preview-periods small { color: #6b776f; font-size: 12px; }
.hero-preview-arrow { color: #7c8a7f; }
.hero-preview-delta { border: 1px solid #dfedbd; background: #f0f7dc; }
.hero-preview-delta strong { color: #314b2b; }
.hero-preview-row { border-color: #e7ece5; color: #59675e; }
.hero-preview-row strong { color: #26372d; }
.hero-preview-note { color: #758078; font-size: 11px; }
.trust-rail {
  width: min(1160px, calc(100% - 64px));
  margin: 17px auto 0;
  padding: 15px 20px;
  gap: 8px clamp(18px, 3vw, 36px);
  border: 1px solid #e0e7df;
  border-radius: 16px;
  background: rgb(255 255 255 / 76%);
  color: #526158;
  font-size: 12px;
}
.trust-rail span::before { color: #668138; }

/* A quieter, more deliberate rhythm for the calculator and comparison flow. */
.section { padding-top: clamp(72px, 8vw, 112px); }
.section > .eyebrow { margin-bottom: 16px; color: #66766b; }
h2 { color: #1d2b26; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; letter-spacing: -.055em; }
.section-heading { align-items: center; margin-bottom: 28px; }
.section-heading p, .section-description { max-width: 48rem; color: #66736b; }
.studio { gap: 20px; }
.input-card, .bill-upload, .quick-tools a, .bill-steps li {
  border: 1px solid #e0e7df;
  background: var(--surface);
  box-shadow: 0 12px 32px rgb(29 43 38 / 4%);
}
.input-card { border-radius: 24px; }
.tabs { gap: 6px; margin-bottom: 30px; border-bottom: 1px solid #e7ece5; }
.tabs button { color: #68756d; }
.tabs button[aria-selected="true"] { background: #1d2b26; color: #fff; }
input, select, textarea {
  border: 1px solid #dce4dc;
  border-radius: 11px;
  background: #fbfcfa;
  color: #1d2b26;
}
input:hover, select:hover, textarea:hover { border-color: #aab9a9; }
.fields label, .utility-search label, .home-row label, .comparison-global label,
.comparison-plans .fields label, .bill-inputs .fields label { color: #58685e; }
.unit-input > span { color: #67756b; }
.rate-help, .hint { color: #68766d; }
.submit { min-height: 54px; border-radius: 12px; background: #1d2b26; }
.result-card, .comparison-result, .replacement-result {
  border: 1px solid #dbe8dc;
  border-radius: 24px;
  background: #eaf2e8;
  color: #1d2b26;
}
.result-card .amount { color: #1d2b26; }
.result-sample-note { border-color: #718b53; background: #f5f8ee; color: #405044 !important; }
.bill-upload { border-radius: 22px; }
.bill-steps li { border-radius: 15px; }
.bill-steps li > span { background: #e9f3ce; }
.quick-tools { gap: 12px; }
.quick-tools a { border-radius: 15px; color: #293a30; transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease; }
.quick-tools a:hover { transform: translateY(-2px); border-color: #bdcbb8; background: #f2f7e5; }
.quick-tools span { color: #68766d; }
.bill-data-strip, .zip-utility-panel, .freshness-banner {
  border: 1px solid #dfe7de;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgb(29 43 38 / 4%);
}
.zip-utility-panel { padding: clamp(20px, 3vw, 34px); }
.zip-next-step { border-color: #dce6d7; border-radius: 18px; background: #f7faf3; }
.guide { border: 1px solid #e0e7df; box-shadow: 0 12px 28px rgb(29 43 38 / 4%); }
.guide:hover { border-color: #bdcbb8; box-shadow: var(--shadow-soft); }
.guide h3 { color: #1d2b26; }

/* Guide directory and editorial pages share the same considered reading system. */
.reading { max-width: 820px; padding-top: clamp(38px, 5vw, 66px); }
.breadcrumbs { color: #69766e; }
.breadcrumbs a { color: #53645a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reading > .eyebrow { margin-top: 26px; color: #668138; }
.reading h1 { color: #1d2b26; font-size: clamp(39px, 6vw, 68px); font-weight: 760; line-height: 1.02; letter-spacing: -.065em; }
.reading h2 { margin: 44px 0 18px; font-size: clamp(27px, 3.5vw, 38px); }
.reading h3 { margin: 34px 0 14px; color: #24362b; font-size: 23px; letter-spacing: -.025em; }
.reading p, .reading li { color: #435148; font-size: 17px; line-height: 1.82; }
.reading > p:nth-of-type(2) { color: #748078; font-size: 13px; }
.reading > p:nth-of-type(3) { color: #314239; font-size: 19px; line-height: 1.7; }
.reading .button { margin-top: 16px; }
.reading hr { border-top-color: #dce4dc; }
.guide-cover img, .article-image img { border: 1px solid #dfe6dd; border-radius: 20px; box-shadow: 0 16px 36px rgb(29 43 38 / 8%); }
.guide-cover figcaption, .article-image figcaption { color: #718077; }
.guide-finder { border: 1px solid #dce5da; border-radius: 22px; background: #eef4eb; }
.guide-search-wrap label, .guide-topic-label { color: #2c4033; }
.guide-search-wrap input { min-height: 54px; border: 1px solid #d1ddd0; border-radius: 12px; background: #fff; }
.guide-topic { min-height: 42px; border-color: #d1ddd0; background: #fff; color: #33463a; }
.guide-topic.is-active { border-color: #1d2b26; background: #1d2b26; color: #fff; }
.guide-index article { border-color: #e0e7df; border-radius: 20px; box-shadow: 0 12px 30px rgb(29 43 38 / 4%); transition: transform 170ms ease, box-shadow 170ms ease; }
.guide-index article:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.guide-index-image { background: #eaf0e7; }
.guide-index-copy { padding: 23px 24px 25px; }
.guide-index h2 { letter-spacing: -.035em; }
.guide-category-label { background: #edf3df; color: #4b603e; }
.guide-index-copy p, .guide-result-count { color: #637168; }
.guide-index-read { color: #405a39; }
.guide-toc, .bill-breakdown, .bill-change, .tracker-reminder { border-color: #dfe7de; border-radius: 18px; background: #f0f5ed; }
.table-wrap, .guide-table-wrap { overflow-x: auto; border-radius: 16px; }

footer { margin-top: clamp(70px, 9vw, 120px); background: #1d2b26; color: #f4f6f1; }
footer .brand-wordmark { color: #f4f6f1; }
footer .footer-inner p, footer .footer-note { color: #c5d0c7; }
footer a { color: #e2ecd7; text-underline-offset: 3px; }
.skip { background: var(--lime); color: #1d2b26; }

@media (max-width: 1100px) {
  .nav.wrap { padding-inline: 28px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); padding: 38px; gap: 30px; }
  .hero h1 { font-size: clamp(52px, 6vw, 72px); }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 82px; }
  .wrap { width: calc(100% - 40px); }
  .nav.wrap { height: 70px; padding-inline: 20px; }
  .nav.open nav { top: 62px; border: 1px solid #dfe7de; background: #fff; box-shadow: var(--shadow-soft); }
  .nav.open nav a { padding: 8px 0; }
  .hero {
    width: calc(100% - 24px);
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 12px;
    padding: 25px 22px 24px;
    border-radius: 23px;
  }
  .hero h1 { max-width: 12ch; font-size: clamp(45px, 10vw, 65px); letter-spacing: -.065em; }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero-description { margin: 15px 0 18px; font-size: 16px; }
  .hero-zip-search { margin-bottom: 18px; padding: 11px; }
  .hero-zip-search > p { font-size: 11px; }
  .hero .hero-secondary { margin: 8px 0 0; }
  .hero-monthly-note { margin-top: 14px; }
  .hero .hero-foot { margin-top: 10px; }
  .hero .hero-art { width: 100%; max-width: 540px; justify-self: center; }
  .hero-bill-preview { padding: 20px; border-radius: 19px; }
  .hero-preview-topline { margin-bottom: 15px; }
  .trust-rail { width: calc(100% - 40px); justify-content: flex-start; gap: 8px 18px; padding: 13px 15px; text-align: left; }
  .section { padding-top: 66px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 10px; }
  .input-card { padding: 20px; }
  .quick-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reading { padding-top: 34px; }
  .reading h1 { font-size: clamp(39px, 10vw, 58px); }
  .reading p, .reading li { font-size: 16px; }
  .guide-index { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .guide-index article { display: grid; grid-template-columns: minmax(130px, .72fr) minmax(0, 1.28fr); align-items: stretch; }
  .guide-index-image { min-height: 100%; aspect-ratio: auto; }
  .guide-index-copy { padding: 16px; }
}
@media (max-width: 520px) {
  .hero { padding: 21px 17px; }
  .hero h1 { font-size: clamp(42px, 11vw, 54px); }
  .hero-zip-controls { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
  .hero-zip-controls input { height: 44px; padding-inline: 11px; font-size: 16px; }
  .hero-zip-controls .button { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .hero .button { width: 100%; justify-content: center; margin-left: 0; }
  .hero .hero-secondary { width: 100%; }
  .hero-preview-periods { gap: 7px; }
  .hero-preview-periods > div { padding: 10px 8px; }
  .hero-preview-periods > div > span { font-size: 9px; }
  .hero-preview-periods small { font-size: 10px; }
  .hero-preview-arrow { font-size: 15px; }
  .hero-preview-delta { padding: 11px 12px; }
  .hero-preview-row { padding: 9px 1px; font-size: 12px; }
  .hero-preview-row strong { font-size: 12px; }
  .hero-preview-note { font-size: 10px; }
  .quick-tools { grid-template-columns: 1fr; }
  .guide-index article { grid-template-columns: 1fr; }
  .guide-index-image { aspect-ratio: 16 / 9; }
  .guide-index-copy { padding: 17px 18px 19px; }
  .guide-topics { gap: 7px; }
  .guide-topic { max-width: 100%; min-height: 38px; padding: 7px 10px; font-size: 13px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner > div { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 2027 product-led pass: one primary action, one clearly separate local lookup. */
.hero {
  width: min(1320px, calc(100% - 64px));
  min-height: 620px;
  margin-top: 20px;
  padding: clamp(42px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: clamp(38px, 6vw, 88px);
  border: 1px solid #e2e8df;
  border-radius: 28px;
  background: linear-gradient(118deg, #f0f4eb 0%, #edf2e9 56%, #e8efe4 100%);
  box-shadow: 0 22px 64px rgb(29 43 38 / 6%);
}
.hero::before { right: -150px; bottom: -310px; opacity: .55; }
.hero-copy { max-width: 590px; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 23px;
  padding: 7px 11px;
  border: 1px solid #d8e3d2;
  border-radius: 999px;
  background: rgb(255 255 255 / 64%);
  color: #52684d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 14ch;
  font-size: clamp(52px, 5.7vw, 76px);
  font-weight: 730;
  line-height: 1.01;
  letter-spacing: -.067em;
}
.hero h1 em { color: #647d3c; font-style: normal; }
.hero-description { max-width: 32rem; margin: 20px 0 26px; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.hero-actions .button { min-height: 52px; padding-inline: 22px; border-radius: 12px; }
.hero-actions .button span, .hero-zip-controls .button span { margin-left: 8px; }
.hero-manual-link { color: #43574a; font-size: 13px; font-weight: 650; text-underline-offset: 4px; }
.hero-manual-link:hover { color: #192721; }
.hero-zip-search {
  max-width: 520px;
  margin: 29px 0 0;
  padding: 17px 18px 15px;
  gap: 10px;
  border: 1px solid #dce5d8;
  border-radius: 16px;
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 10px 28px rgb(29 43 38 / 4%);
}
.hero-zip-heading { display: flex; align-items: center; gap: 9px; }
.hero-zip-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: #eaf1df; color: #4f683b; font-size: 17px; }
.hero-zip-search > label, .hero-zip-heading label { color: #293a30; font-size: 13px; font-weight: 760; }
.hero-zip-controls { gap: 9px; }
.hero-zip-controls input { height: 48px; padding-inline: 13px; border-color: #d6dfd4; border-radius: 10px; background: #fff; font-size: 15px; }
.hero-zip-controls .button { min-height: 48px; padding: 11px 15px; border-radius: 10px; white-space: nowrap; }
.hero-zip-search > p { margin: 0; color: #6b786e; font-size: 11px; line-height: 1.5; }
.hero .hero-foot { margin-top: 17px; color: #617067; font-size: 11px; line-height: 1.5; }
.hero-monthly-note { margin: 17px 0 0; color: #526259; font-size: 13px; }
.hero-secondary-path { margin: 12px 0 0; font-size: 12px; }
.hero-secondary-path a { color: #52684d; text-underline-offset: 3px; }
.hero .hero-art { justify-content: center; margin: 0; }
.hero-bill-preview {
  width: min(100%, 490px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #e5e9e2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 72px rgb(29 43 38 / 12%), 0 3px 12px rgb(29 43 38 / 4%);
}
.hero-preview-icon { width: 32px; height: 32px; border-radius: 10px; }
.hero-preview-topline { margin-bottom: 23px; }
.hero-preview-topline .micro { font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.hero-preview-sample { padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.hero-preview-periods > div { padding: 15px 13px; border: 1px solid #e8ece6; border-radius: 13px; background: #fafbf9; }
.hero-preview-periods > div > span, .hero-preview-delta > span { font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.hero-preview-periods strong { margin: 8px 0 4px; font-size: clamp(29px, 3vw, 38px); letter-spacing: -.055em; }
.hero-preview-periods small { font-size: 11px; }
.hero-preview-delta { margin: 16px 0 6px; padding: 13px 15px; border-radius: 12px; }
.hero-preview-delta strong { font-size: 25px; letter-spacing: -.04em; }
.hero-preview-row { padding: 11px 1px; font-size: 12px; }
.hero-preview-row strong { font-size: 12px; }
.hero-preview-note { margin-top: 14px; font-size: 10px; line-height: 1.5; }
.trust-rail { width: min(1160px, calc(100% - 96px)); margin-top: 17px; border-radius: 14px; background: #fff; font-size: 11px; }
.section { padding-top: clamp(82px, 9vw, 120px); }
.section-heading { gap: 28px; }
.section-heading p, .section-description { line-height: 1.7; }
.input-card, .bill-upload, .zip-utility-panel, .guide-index article { box-shadow: 0 14px 38px rgb(29 43 38 / 5%); }

@media (max-width: 1100px) {
  .hero { width: calc(100% - 48px); min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(310px, .9fr); padding: 44px; gap: 34px; }
  .hero h1 { font-size: clamp(50px, 6vw, 68px); }
}
@media (max-width: 800px) {
  .hero { width: calc(100% - 28px); margin-top: 12px; padding: 32px 28px 28px; grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .hero h1 { max-width: 100%; font-size: clamp(38px, 7vw, 54px); }
  .hero h1 br { display: none; }
  .hero .eyebrow { margin-bottom: 17px; }
  .hero-description { margin: 16px 0 21px; font-size: 16px; }
  .hero-zip-search { margin-top: 22px; padding: 15px; }
  .hero .hero-art { max-width: 510px; }
  .hero-bill-preview { padding: 22px; }
  .hero .hero-foot { margin-top: 14px; }
  .trust-rail { width: calc(100% - 40px); }
}
@media (max-width: 520px) {
  .hero { padding: 27px 20px 21px; border-radius: 21px; }
  .hero h1 { max-width: 100%; font-size: clamp(36px, 9vw, 44px); }
  .hero-description { font-size: 15px; line-height: 1.58; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .hero-manual-link { margin-left: 2px; }
  .hero-zip-search { margin-top: 20px; padding: 14px; }
  .hero-zip-controls { grid-template-columns: minmax(0, 1fr); }
  .hero-zip-controls .button { width: 100%; justify-content: center; }
  .hero-zip-search > p { font-size: 10px; }
  .hero-bill-preview { padding: 17px 14px; }
  .hero-preview-topline { gap: 7px; margin-bottom: 15px; }
  .hero-preview-topline .micro { font-size: 9px; letter-spacing: .04em; }
  .hero-preview-periods { gap: 6px; }
  .hero-preview-periods > div { padding: 10px 8px; }
  .hero-preview-periods > div > span { font-size: 8px; }
  .hero-preview-periods strong { font-size: 27px; }
  .hero-preview-periods small { font-size: 9px; }
  .hero-preview-arrow { font-size: 14px; }
  .hero-preview-row { font-size: 10px; }
  .hero-preview-row strong { font-size: 11px; }
  .trust-rail { gap: 8px 13px; font-size: 10px; }
}

/* Keep the full navigation from compressing into wrapped labels on small laptops. */
@media (max-width: 960px) {
  .nav nav, .nav-cta { display: none; }
  .menu-btn { display: flex; align-items: center; gap: 12px; }
  .nav.open nav {
    position: absolute;
    top: calc(100% - 4px);
    left: 24px;
    right: 24px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    border: 1px solid #dfe7de;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgb(29 43 38 / 12%);
  }
  .nav.open nav a { padding: 10px 8px; }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .hero { min-height: 0; }
}

.bill-pdf-option { margin-block: 1rem; }
.bill-pdf-option > summary { cursor: pointer; }
#bill-empty[hidden] { display: none; }
