/* Nav bar and footer copied from thinkhpy.com (captured 2026-09-29), shared by index.html and report.html.
   Colours are the site's own, not the hpy product palette. */
/* thinkhpy.com sets both in Inter Display, which is Inter at its largest optical size */
.site-nav, .site-foot { font-family: Inter, system-ui, -apple-system, sans-serif; font-variation-settings: 'opsz' 32; }
.site-nav a, .site-foot a { color: inherit; text-decoration: none; }

/* ---- Nav */
.site-nav { position: relative; z-index: 10; }
.nav-in { position: relative; max-width: 1232px; height: 60px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { display: block; width: 52px; height: 30px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a, .nav-login { font-size: 12px; font-weight: 500; color: #1e1e1e; transition: opacity .15s ease; }
.nav-links a:hover, .nav-login:hover { opacity: .64; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 24px; border-radius: 32px; background: #111111; color: #ffffff !important; font-size: 12px; font-weight: 500; transition: transform .15s ease; }
.nav-cta:active { transform: scale(.98); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid rgba(173, 173, 173, .32); border-radius: 16px; background: #ffffff; color: #1e1e1e; place-items: center; cursor: pointer; box-shadow: 0 4px 16px rgba(33, 33, 33, .08); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-menu { position: absolute; top: 72px; right: 16px; width: 216px; padding: 8px; border-radius: 16px; background: #ffffff; box-shadow: 0 16px 48px rgba(33, 33, 33, .16); text-align: center; }
.nav-menu[hidden] { display: none; }
.nav-menu a:not(.nav-cta) { display: block; padding: 12px 0; font-size: 12px; font-weight: 500; color: #1e1e1e; }
.nav-menu .nav-cta { display: flex; justify-content: center; height: 48px; margin-top: 4px; }
.nav-links a:focus-visible, .nav-login:focus-visible, .nav-cta:focus-visible, .nav-toggle:focus-visible, .nav-menu a:focus-visible { outline: 2px solid #111111; outline-offset: 4px; border-radius: 8px; }

@media (max-width: 960px) {
  .nav-in { height: 80px; padding: 0 16px 0 32px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: grid; }
}

/* ---- Footer */
.site-foot { background: #111111; color: #6f6f6f; }
.foot-in { max-width: 1288px; margin: 0 auto; padding: 80px 24px 48px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; }
.foot-id { display: flex; align-items: flex-start; gap: 20px; }
.foot-id img { display: block; width: 88px; height: auto; }
.foot-tag { max-width: 160px; margin: 0; font-size: 20px; font-weight: 700; line-height: 1.5; color: #6f6f6f; }
.foot-mail { display: inline-flex; align-items: center; gap: 12px; height: 48px; margin-top: 104px; padding: 0 16px; border: 1px solid #3d3d3d; border-radius: 8px; font-size: 12px; font-weight: 500; transition: border-color .15s ease; }
.foot-mail:hover { border-color: #6f6f6f; }
.foot-mail svg { width: 20px; height: 20px; }
.foot-cols { display: flex; gap: 80px; }
.foot-cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.site-foot .foot-h { margin-bottom: 8px; font-size: 20px; font-weight: 700; color: #ffffff; }
.foot-cols a:not(.foot-h):not(.soc) { font-size: 20px; line-height: 1.2; transition: color .15s ease; }
.foot-cols a:not(.foot-h):not(.soc):hover, .foot-bottom a:hover { color: #ffffff; }
.soc { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 8px; background: #1e1e1e; font-size: 16px; font-weight: 500; transition: background .15s ease; }
.soc:hover { background: #2e2e2e; }
.soc svg { width: 20px; height: 20px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 96px; padding-top: 48px; border-top: 1px solid #3d3d3d; font-size: 16px; font-weight: 500; }
.site-foot a:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; border-radius: 8px; }

@media (max-width: 960px) {
  .foot-in { padding: 48px 16px 40px; }
  .foot-top { flex-direction: column; gap: 40px; }
  .foot-id img { width: 72px; }
  .foot-tag { max-width: 220px; font-size: 18px; }
  .foot-mail { display: flex; justify-content: center; margin-top: 40px; }
  .foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 24px; padding-top: 40px; border-top: 1px solid #3d3d3d; }
  .foot-cols a:not(.foot-h):not(.soc) { font-size: 16px; }
  .foot-cols > div:last-child { flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 12px; }
  .foot-cols > div:last-child .foot-h { flex-basis: 100%; }
  .soc { width: 44px; padding: 0; justify-content: center; }
  .soc span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .foot-bottom { justify-content: center; margin-top: 48px; padding-top: 40px; }
  .foot-bottom a { display: none; }
}
