.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 7px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a,
.site-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
  font-weight: 850;
}

.site-nav button {
  font: inherit;
}

.site-nav a:hover,
.site-nav button:hover,
.site-footer a:hover {
  color: var(--ink);
}

.hero-band {
  padding: 42px 0 54px;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 58%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(620px, 1.22fr);
  gap: 28px;
  align-items: start;
}

.hub-hero {
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
}

.hero-copy {
  padding-top: 18px;
}

.quick-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-panel {
  min-width: 0;
}

.content-band {
  padding: 58px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.content-band.compact {
  padding: 44px 0;
}

.content-band.muted {
  background: var(--surface-soft);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-intro h2 {
  margin-bottom: 10px;
}

.section-intro p {
  color: var(--muted);
}

.section-intro.narrow {
  max-width: 700px;
}

.calculator-section {
  display: grid;
  gap: 18px;
}

.faq-wrap {
  max-width: 980px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.page-shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.site-footer {
  padding: 32px 0;
  color: var(--muted);
  background: #101820;
  border-top: 1px solid #26313d;
}

.site-footer strong,
.site-footer a {
  color: #f8fafc;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 60px;
  }

  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 8px 12px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 0.9rem;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    gap: 6px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .site-nav a,
  .site-nav button {
    min-height: 30px;
    padding: 5px 9px;
  }

  .hero-band {
    padding-top: 28px;
  }

  .two-column,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }

}
