/* Reset, typography and layout utilities. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
/* Component display rules must never un-hide something marked hidden. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, p { margin: 0; }
h1, .hs-title { font-size: var(--text-page-title); font-weight: var(--weight-semibold); line-height: 1.25; letter-spacing: -0.01em; }
h2, .hs-section-title { font-size: var(--text-section); font-weight: var(--weight-semibold); line-height: 1.3; }
h3, .hs-subtitle { font-size: var(--text-sub); font-weight: var(--weight-semibold); line-height: 1.4; }
h4 { font-size: var(--text-sm); font-weight: var(--weight-medium); }

a { color: var(--primary); text-underline-offset: 0.2em; }
a:hover { color: var(--primary-hover); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.hs-skip-link {
  position: absolute; left: var(--space-3); top: -4rem; z-index: var(--z-toast);
  background: var(--surface); color: var(--text); padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border-strong); border-radius: var(--radius); text-decoration: none;
}
.hs-skip-link:focus { top: var(--space-3); }

.hs-sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.hs-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Text roles */
.hs-muted { color: var(--text-muted); }
.hs-supporting { font-size: var(--text-sm); color: var(--text-muted); }
.hs-label-text { font-size: var(--text-sm); font-weight: var(--weight-medium); }
.hs-num, .hs-money, .hs-figure { font-variant-numeric: tabular-nums; }
.hs-money { font-weight: var(--weight-medium); white-space: nowrap; }
.hs-figure { font-weight: var(--weight-semibold); font-size: var(--text-figure-lg); line-height: 1.2; letter-spacing: -0.01em; }
.hs-figure--xl { font-size: var(--text-figure-xl); }
.hs-text-right { text-align: right; }
.hs-nowrap { white-space: nowrap; }
.hs-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Layout */
.hs-container { width: 100%; max-width: 75rem; margin-inline: auto; padding-inline: var(--space-4); }
.hs-stack { display: flex; flex-direction: column; gap: var(--space-4); }
.hs-stack > * { margin: 0; }
.hs-gap-1 { gap: var(--space-1); } .hs-gap-2 { gap: var(--space-2); } .hs-gap-3 { gap: var(--space-3); }
.hs-gap-6 { gap: var(--space-6); } .hs-gap-8 { gap: var(--space-8); }
.hs-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.hs-cluster--between { justify-content: space-between; }
.hs-cluster--end { justify-content: flex-end; }
.hs-grow { flex: 1 1 auto; min-width: 0; }
.hs-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.hs-narrow { max-width: 32rem; }
.hs-narrow-lg { max-width: 44rem; }
.hs-divider { border: 0; border-top: 1px solid var(--border); margin: var(--space-6) 0; }

@media (min-width: 48rem) { .hs-container { padding-inline: var(--space-6); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.hs-page { padding-block: var(--space-8); }
