/* HomeBillCutter — one stylesheet for the whole site.
   Brand: navy + blue from the logo, orange CTA buttons with bold white text
   (the same #ff9029 used on the HomeBillCutter landing pages). Font: Inter. */

:root {
  --navy: #001830;
  --blue: #1d5fae;
  --orange: #ff9029;
  --ink: #1a1f2b;
  --muted: #55606f;
  --line: #d9e0e8;
  --soft: #f4f7fa;
  --white: #ffffff;
  --radius: 12px;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
h1 { font-size: 40px; letter-spacing: -0.01em; }
h2 { font-size: 28px; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* Buttons: solid orange, bold white text — never a gradient. */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  padding: 16px 30px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 144, 41, 0.28);
  transition: transform .12s ease, box-shadow .12s ease;
  font-family: inherit;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 144, 41, 0.36); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 20px; padding: 18px 36px; }

/* Header: centered logo, one row of project links under it. */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; flex-direction: column; align-items: center; padding-top: 18px; padding-bottom: 12px; }
.brand img { width: 220px; height: auto; }
.site-nav { display: flex; gap: 6px; margin-top: 14px; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  white-space: nowrap; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
}
.site-nav a:hover { border-color: var(--blue); color: var(--blue); }
.site-nav a.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Home hero */
.hero { background: var(--soft); text-align: center; padding: 56px 0 48px; }
.hero h1 { max-width: 780px; margin: 0 auto 14px; }
.hero .sub { max-width: 680px; margin: 0 auto 26px; font-size: 18px; color: var(--muted); }
.hero-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* Project cards */
.projects { padding: 48px 0 20px; }
.projects h2, .how h2, .why h2, .benefits h2, .faq-section h2 { text-align: center; margin-bottom: 26px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 26px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  text-decoration: none; color: var(--ink); transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.card:hover { border-color: var(--blue); box-shadow: 0 12px 28px rgba(0, 24, 48, 0.10); transform: translateY(-2px); }
.card-icon { width: 56px; height: 56px; color: var(--blue); }
.card-icon svg { width: 56px; height: 56px; }
.card-title { font-size: 20px; font-weight: 800; color: var(--navy); }
.card-blurb { color: var(--muted); font-size: 15px; min-height: 48px; }
.card-btn { margin-top: 6px; padding: 12px 28px; font-size: 16px; }

/* How it works */
.how { padding: 40px 0 20px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li { background: var(--soft); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.steps h3 { margin: 10px 0 6px; }
.steps p { margin: 0; color: var(--muted); }
.step-num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; }

/* Why */
.why { padding: 40px 0 10px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.why-list li { padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--white); border-radius: 6px; box-shadow: 0 2px 10px rgba(0, 24, 48, 0.06); }
.why-list h3 { margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-section { padding: 40px 0 56px; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; background: var(--white); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--blue); flex: 0 0 auto; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.back-top { text-align: center; margin-top: 26px; }

/* Vertical page */
.v-hero { background: var(--soft); padding: 34px 0 30px; text-align: center; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumb a { color: var(--muted); }
.v-hero h1 { max-width: 820px; margin: 0 auto 12px; font-size: 36px; }
.v-hero .sub { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.quiz-wrap { padding: 28px 20px 10px; }

/* Quiz card */
.quiz { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 22px; box-shadow: 0 14px 36px rgba(0, 24, 48, 0.10); position: relative; }
.qz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qz-progress { flex: 1; height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.qz-bar { height: 100%; background: var(--blue); border-radius: 999px; transition: width .25s ease; }
.qz-stepnum { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.qz-q { font-size: 24px; margin-bottom: 16px; text-align: center; }
.qz-opts { display: grid; gap: 10px; }
.qz-opt {
  width: 100%; text-align: center; font: inherit; font-weight: 600; font-size: 17px; color: var(--navy);
  background: var(--white); border: 2px solid var(--line); border-radius: 10px; padding: 15px 16px; cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.qz-opt:hover, .qz-opt:focus-visible { border-color: var(--blue); background: #f2f7fd; }
.qz-opt.is-selected { border-color: var(--blue); background: #e9f2fc; }
.qz-zipform { display: flex; gap: 10px; }
.qz-zipin {
  flex: 1; min-width: 0; font: inherit; font-size: 22px; font-weight: 700; letter-spacing: 4px; text-align: center; color: var(--navy);
  border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.qz-zipin:focus { outline: none; border-color: var(--blue); }
.qz-zipform .btn { flex: 0 0 auto; }
.qz-err { color: #c62828; font-weight: 600; margin: 10px 0 0; }
.qz-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; text-align: center; }
.qz-result { text-align: center; }
.qz-check { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; background: #e6f6ec; color: #1b8a44; font-size: 34px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.qz-result h2 { font-size: 26px; }
.qz-city { color: var(--blue); font-weight: 700; margin: -4px 0 10px; }
.qz-resultline { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.qz-cta { display: block; width: 100%; }
.qz-restart { display: inline-block; margin-top: 14px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.qz-back { position: absolute; left: 24px; bottom: 22px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; padding: 0; }
.quiz.has-back { padding-bottom: 48px; }

/* Benefits */
.benefits { padding: 36px 0 10px; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-list li { padding: 20px; background: var(--soft); border-radius: var(--radius); }
.benefit-list h3 { margin-bottom: 6px; }
.benefit-list p { margin: 0; color: var(--muted); }

/* Generic page (contact, 404) */
.page { padding: 44px 0 56px; }
.contact-email { margin: 22px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 34px 0 30px; margin-top: 30px; color: #6b7480; font-size: 12px; line-height: 1.7; text-align: center; }
.footer-brand img { width: 100px; margin: 0 auto 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-bottom: 16px; }
.footer-links a { color: #6b7480; text-decoration: underline; white-space: nowrap; }
.site-footer p { max-width: 900px; margin: 0 auto 10px; }

/* Tablet */
@media (max-width: 900px) {
  .cards, .steps, .benefit-list { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 34px; }
  .v-hero h1 { font-size: 30px; }
}

/* Phone */
@media (max-width: 600px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .v-hero h1 { font-size: 26px; }
  .hero { padding: 36px 0 32px; }
  .hero .sub, .v-hero .sub { font-size: 16px; }
  .brand img { width: 180px; }
  .site-nav { justify-content: flex-start; width: 100%; }
  .cards, .steps, .why-list, .benefit-list { grid-template-columns: 1fr; }
  .card-blurb { min-height: 0; }
  .btn-lg, .hero .btn { display: block; width: 100%; }
  .quiz { padding: 18px 16px 18px; border-radius: 14px; }
  .qz-q { font-size: 21px; }
  .qz-zipform { flex-direction: column; }
  .qz-zipform .btn { width: 100%; }
  .qz-back { left: 16px; }
  .quiz-wrap { padding: 18px 12px 6px; }
}
