/* Base - minimal structural shell for TrustSurface Advisory */
:root {
  --max: 1040px;
  --narrow: 780px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  line-height: 1.72;
}

a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute; left: -9999px; top: 1rem; padding: .75rem 1rem; border-radius: .8rem;
  background: var(--adv-surface); color: var(--adv-text); border: 1px solid var(--adv-border);
}
.skip-link:focus { left: 1rem; z-index: 100; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), var(--narrow)); margin: 0 auto; }
.container.narrow { width: min(calc(100% - 2rem), var(--narrow)); }
.site-header {
  position: sticky; top: 0; z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .8rem; }
.brand-title,
h1, h2, h3 {
  letter-spacing: -0.03em;
}

.brand-title { font-weight: 600; }
.brand-subtitle { font-size: .92rem; }
.nav-toggle { display: none; border-radius: 999px; padding: .7rem 1rem; cursor: pointer; font-family: inherit; }
.nav-list { display: flex; align-items: center; gap: .3rem; list-style: none; padding: 0; margin: 0; }
.nav-list a { display: inline-block; padding: .65rem .9rem; text-decoration: none; border-radius: 999px; }
.footer { padding: 2.5rem 0 4rem; margin-top: 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute; right: 1rem; top: 68px; flex-direction: column; align-items: stretch; width: min(320px, calc(100vw - 2rem)); padding: .7rem;
    border-radius: 20px; display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .9rem 1rem; }
  .footer-inner { flex-direction: column; }
}
@media print {
  .site-header, .footer, .nav-toggle { display: none !important; }
  body { background: #fff; }
  a { color: #000; text-decoration: none; }
}
