/* abuzzlist Base Styles */

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 70% -10%, rgba(255, 220, 0, .10), transparent 60%), var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

/* Safe-area and typography scaling */
:root {
  --content-pad-x: clamp(16px, 4vw, 24px);
}

body {
  padding-left: max(env(safe-area-inset-left), 0px);
  padding-right: max(env(safe-area-inset-right), 0px);
  padding-bottom: env(safe-area-inset-bottom);
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Accessible focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Layout utilities */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--content-pad-x);
}

/* Typography utilities */
.muted,
.sub,
.lead {
  color: var(--subtle);
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

h1 { font-size: clamp(1.6rem, 1.2rem + 2.2vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 1.1rem + 1.4vw, 1.8rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.4rem); }

