/* =========================================================
   base.css — resets, base elements, page shell & utilities
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; border-color: hsl(var(--border)); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
.icon-brand { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-brand svg { width: 100%; height: 100%; display: block; }
.icon-brand.size-4 { width: 1rem; height: 1rem; }
.icon-brand.size-5 { width: 1.25rem; height: 1.25rem; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

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

/* ---------- page shell / layout ---------- */
.wrap { margin-inline: auto; max-width: 48rem; padding-inline: 2rem; width: 100%; }
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4rem; /* Adjust this value (e.g., 3rem, 4rem, 5rem) to set the exact spacing between all blocks */
}

/* ---------- generic utilities ---------- */
.hidden { display: none !important; }
.mono-icon { width: 1.25rem; height: 1.25rem; }
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
svg.size-4, i.size-4 svg { width: 1rem; height: 1rem; }
svg.size-5, i.size-5 svg { width: 1.25rem; height: 1.25rem; }
.social-link { color: hsl(var(--muted-foreground)); }
.social-link:hover { color: hsl(var(--foreground)); }
