/* â”€â”€ Reset & Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Site shell: fret grid + transparent body on all pages except in-app (body.app-body) */
html:not(:has(body.app-body)) {
  background-color: var(--background);
  background-image:
    linear-gradient(rgba(230, 148, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 148, 32, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: fixed;
  background-position: 0 0;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* After default body bg: non–in-app pages use transparent body so html grid + mist show through */
html:not(:has(body.app-body)) body {
  background: transparent;
}

/* Main/footer above fixed mist (#video-bg-container in shared/glow.html; see navbar.css) */
html:not(:has(body.app-body)) body > main,
html:not(:has(body.app-body)) body > footer {
  position: relative;
  z-index: 1;
}

h1, h2, h3 {
  font-family: var(--font-heading);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* â”€â”€ Utilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--clr-saffron);
  color: var(--clr-note-text);
}

.btn-primary:hover {
  background: #F0A830;
  box-shadow: 0 0 24px rgba(230, 148, 32, 0.38);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--clr-saffron);
  border: 1.5px solid var(--clr-saffron);
}

.btn-outline:hover {
  background: var(--clr-saffron-glow);
  transform: translateY(-1px);
}

